not necessary
www.javascript.com
Javascript: i=0; c=["red","green","blue","yello... IS it javascript? From where can i have a tutorial?
Try this site:
http://www.planet-source-code.com/
They have sample code for Java and Java Scripting
Reply:Try
www.w3schools.com
It has a good JavaScript tutorial with demos.
Reply:http://www.javaworld.com/javaworld/javat...
Reply:http://jcreator.com/
Sunday, August 2, 2009
Is there a tutorial about how I can program a service that listens for queries on a specific port in C#?
I'm thinking something like a database service, which listens to queries on its port, then returns the results of these queries to its client. It would be best if the tutorial (or your answer) showed only how to receive queries, and send responses. No need for the client code - I've built one on Linux and now I want to establish a communication with the server on Windows - although I won't mind if there is a client as well.
So, a simple "hello world" server would suffice - just to receive some data (request) and maybe put it in a text box or something, and send something (response) back. Nothing too fancy.
Thanks.
Is there a tutorial about how I can program a service that listens for queries on a specific port in C#?
use the TcpListener object ..
System.Net.Sockets.TcpListener server = new System.Net.Sockets.TcpListener(2048); // port number ..
server.Start();
TcpClient client = server.AcceptTcpClient();
Byte[] sendBytes = Encoding.ASCII.GetBytes("Hello World!");
client.GetStream().Write(sendBytes, 0, sendBytes.Length);
....
floral
So, a simple "hello world" server would suffice - just to receive some data (request) and maybe put it in a text box or something, and send something (response) back. Nothing too fancy.
Thanks.
Is there a tutorial about how I can program a service that listens for queries on a specific port in C#?
use the TcpListener object ..
System.Net.Sockets.TcpListener server = new System.Net.Sockets.TcpListener(2048); // port number ..
server.Start();
TcpClient client = server.AcceptTcpClient();
Byte[] sendBytes = Encoding.ASCII.GetBytes("Hello World!");
client.GetStream().Write(sendBytes, 0, sendBytes.Length);
....
floral
I am a beginner who has the basic nack of programming in C,I want to learn Adobe CS 3 to build websites ??
I want to build a highly interactive website , and I searched for the Proffessional web building tools on the net and came across Adobe Creative Suite 3 Web Premium, but the problem is I just have a little knowledge on web building and a little programming experience in C and Java (Core) .So I wish to know that where would I find a good from scratch tutorial , that would teach me using the above product preferably a Video tutorial, also tell me that is it possible for me to learn it or I would have to learn other things first in order to learn the adobe CS3 ???
Thankyou !!!!!
I am a beginner who has the basic nack of programming in C,I want to learn Adobe CS 3 to build websites ??
First thing Adobe CS3 is not web development program its an image manipulation s/w and I'll be extremely useful while development. Second U've to learn web languages to make website u want. These are HTML, ASP, DHTML, CSS, "JAVASCRIPT", XML, AJAX[JS + XML]. Flash, Photoshop.
C has no use here, but y! JAVA is good choice, I'll be helpful in creating Java Applet applications.
First go for Photoshop play with tools and filters here, don't try to create anything... i mean to say JUST Play n enjoy painting.. After become familier with Some of tools, start using extra features.
Tip:: Java has a hard competitor Adobe Flash. This s/w is miracle and changed many websites future. Java respond some slowly 'coz of its well known BEST Feature which u hear everytime.... Plateform... :)
Go for Languages i told u above, then Photoshop and Flash.. And and Learn JScript as much u can. It's the only language u 'll use to build Interactive website [except if u r not using Flash].
Here is one s/w also Adobe Dreamweaver, specially for website developemnt, which is for those who don't know or don't want to learn languages. ;)
http://www.w3schools.com
Gud Luck n
Have a nice Coding. :)
Reply:Hello pankitdhawan,
You mean Adobe DreamWeaver. You don't really need to get the whole suite of CS3 programs. Adobe publishes "Classroom in a Book" for DreamWeaver, that could be of great help to you. Start there.
Best of luck to you.
--Rick
Thankyou !!!!!
I am a beginner who has the basic nack of programming in C,I want to learn Adobe CS 3 to build websites ??
First thing Adobe CS3 is not web development program its an image manipulation s/w and I'll be extremely useful while development. Second U've to learn web languages to make website u want. These are HTML, ASP, DHTML, CSS, "JAVASCRIPT", XML, AJAX[JS + XML]. Flash, Photoshop.
C has no use here, but y! JAVA is good choice, I'll be helpful in creating Java Applet applications.
First go for Photoshop play with tools and filters here, don't try to create anything... i mean to say JUST Play n enjoy painting.. After become familier with Some of tools, start using extra features.
Tip:: Java has a hard competitor Adobe Flash. This s/w is miracle and changed many websites future. Java respond some slowly 'coz of its well known BEST Feature which u hear everytime.... Plateform... :)
Go for Languages i told u above, then Photoshop and Flash.. And and Learn JScript as much u can. It's the only language u 'll use to build Interactive website [except if u r not using Flash].
Here is one s/w also Adobe Dreamweaver, specially for website developemnt, which is for those who don't know or don't want to learn languages. ;)
http://www.w3schools.com
Gud Luck n
Have a nice Coding. :)
Reply:Hello pankitdhawan,
You mean Adobe DreamWeaver. You don't really need to get the whole suite of CS3 programs. Adobe publishes "Classroom in a Book" for DreamWeaver, that could be of great help to you. Start there.
Best of luck to you.
--Rick
Two different HELLO WORLD programs in c++ what's the difference?
The code doesn't seem to display right in Yahoo Answers so I will just post the link to the site I asked this question on. The link takes you directly to the comment I made, which is by the username Wesley. (Random name I thought of)
http://www.learncpp.com/cpp-tutorial/06-...
You can respond to the comment on the site or directly here in Yahoo Answers.
Reason for asking:
The C++ book I ended up buying shows the code like that and also other codes. Instead of what I'm used to.. cout %26lt;%26lt; "Hello world"
it's some other ****.
Two different HELLO WORLD programs in c++ what's the difference?
if you pick the "namespace std" then you don't put std in it.
cout %26lt;%26lt; "Hello World!n"; //don't put std if you use namespace std (that is standard namespace.)
Howerver if you not pick a "namespace std" then put std in it. such as:
std::cout %26lt;%26lt; "Hello World!n"; // you must put std if don't pick namespace std;
Reply:The true beauty of computer programming is that there are many ways of providing a valid solution. The difference you are seeing is with the standard namespace.
Namespaces allow you to give a "possession" to written code. For instance, if you write a function and Chuck Norris writes a function, you can each put it in your own namespace. Say if Norris wants to use your function, he will include your namespace, so when he's using it, he will know to whom the code belongs. It is used often in work environments.
In C++, you can use the standard namespace by writing the statement
using namespace std;
or you can use std:: with each statement that is part of the namespace. As you will see in programming with the standard namespace, it is good practice to use the single line above your main program. Try out each way and get accustomed to different code, because as you will see, everyone writes their code differently.
Reply:Many functions and objects in C++ are standard and are contained in the standard library. Neither example is wrong. To help clarify your confusion, you should look up namespaces and the using statement, as well as the scope resolution operator ::. This is probably beyond your understanding, but cout is an ostream object. At this point, don't be too concerned about that, but think of it like a variable that is declared. Now, say by accident you made a variable called cout (eg. int cout;). How would the compiler know which cout that you are referring to? Well, through the use of namespaces, one can put all their created objects and variables in a namespace. cout happens to reside in a namespace called 'std', which is short for standard. 'endl' is also in there. The proper way to use a namespace is to put the namespace, followed by the scope resolution operator ::, then the name of the object (eg. std::cout, std::cin, std::endl). However, this can beome cumbersome in a large program. The way to save some typing is with the using statement. There are a few ways to use this statement. One can use it locally in a function or globally. Many people will use the std namespace globally, so at the top of their program after the includes, you will see " using namespace std;" This means anything in that namespace, you will not need to put std:: infront of it, though you still can.
So you can do helloworld either way:
using namespace std;
int main()
{
cout %26lt;%26lt; "Hello World!" %26lt;%26lt; endl;
// you can still even do std::cout with
// the using namespace std; statement
return 0;
}
or
int main()
{
std::cout %26lt;%26lt; "Hello World!" %26lt;%26lt; std::endl;
return 0;
}
http://www.learncpp.com/cpp-tutorial/06-...
You can respond to the comment on the site or directly here in Yahoo Answers.
Reason for asking:
The C++ book I ended up buying shows the code like that and also other codes. Instead of what I'm used to.. cout %26lt;%26lt; "Hello world"
it's some other ****.
Two different HELLO WORLD programs in c++ what's the difference?
if you pick the "namespace std" then you don't put std in it.
cout %26lt;%26lt; "Hello World!n"; //don't put std if you use namespace std (that is standard namespace.)
Howerver if you not pick a "namespace std" then put std in it. such as:
std::cout %26lt;%26lt; "Hello World!n"; // you must put std if don't pick namespace std;
Reply:The true beauty of computer programming is that there are many ways of providing a valid solution. The difference you are seeing is with the standard namespace.
Namespaces allow you to give a "possession" to written code. For instance, if you write a function and Chuck Norris writes a function, you can each put it in your own namespace. Say if Norris wants to use your function, he will include your namespace, so when he's using it, he will know to whom the code belongs. It is used often in work environments.
In C++, you can use the standard namespace by writing the statement
using namespace std;
or you can use std:: with each statement that is part of the namespace. As you will see in programming with the standard namespace, it is good practice to use the single line above your main program. Try out each way and get accustomed to different code, because as you will see, everyone writes their code differently.
Reply:Many functions and objects in C++ are standard and are contained in the standard library. Neither example is wrong. To help clarify your confusion, you should look up namespaces and the using statement, as well as the scope resolution operator ::. This is probably beyond your understanding, but cout is an ostream object. At this point, don't be too concerned about that, but think of it like a variable that is declared. Now, say by accident you made a variable called cout (eg. int cout;). How would the compiler know which cout that you are referring to? Well, through the use of namespaces, one can put all their created objects and variables in a namespace. cout happens to reside in a namespace called 'std', which is short for standard. 'endl' is also in there. The proper way to use a namespace is to put the namespace, followed by the scope resolution operator ::, then the name of the object (eg. std::cout, std::cin, std::endl). However, this can beome cumbersome in a large program. The way to save some typing is with the using statement. There are a few ways to use this statement. One can use it locally in a function or globally. Many people will use the std namespace globally, so at the top of their program after the includes, you will see " using namespace std;" This means anything in that namespace, you will not need to put std:: infront of it, though you still can.
So you can do helloworld either way:
using namespace std;
int main()
{
cout %26lt;%26lt; "Hello World!" %26lt;%26lt; endl;
// you can still even do std::cout with
// the using namespace std; statement
return 0;
}
or
int main()
{
std::cout %26lt;%26lt; "Hello World!" %26lt;%26lt; std::endl;
return 0;
}
Can anyone with programming, specifically C++, experience help me? (little needed) What's wrong in this script
http://i218.photobucket.com/albums/cc99/...
Using Dev-C++
I switched to system pause again, though that's not the problem. Please answer here or email me to help me. The tutorial I used - http://www.youtube.com/watch?v=nziy2_U5J...
My Script:
#include%26lt;iostream%26gt;
using namespace std;
int main(void)
(
double dnumber1 = 0.0;
double dnumber2 = 0.0;
double dnumber3 = 0.0;
double daverage = 0.0;
cout %26lt;%26lt; "please enter 3 numbers... " %26lt;%26lt; endl;
cin %26gt;%26gt; dnumber1;
cin %26gt;%26gt; dnumber2;
cin %26gt;%26gt; dnumber3;
daverage= (dnumber1 + dnumber2 + dnumber3) / 3;
cout %26lt;%26lt; "The average of the numbers are... " %26lt;%26lt; daverage %26lt;%26lt;endl %26lt;%26lt; endl;
system("pause");
return 0;
)
Can anyone with programming, specifically C++, experience help me? (little needed) What's wrong in this script
int main(void)
( %26lt;===== problem
That parenthesis needs to be changed to a "{" instead
....called a "left curly brace" .... it is next to the "P" key
Change the parenthesis at the bottom of your code too.
Using Dev-C++
I switched to system pause again, though that's not the problem. Please answer here or email me to help me. The tutorial I used - http://www.youtube.com/watch?v=nziy2_U5J...
My Script:
#include%26lt;iostream%26gt;
using namespace std;
int main(void)
(
double dnumber1 = 0.0;
double dnumber2 = 0.0;
double dnumber3 = 0.0;
double daverage = 0.0;
cout %26lt;%26lt; "please enter 3 numbers... " %26lt;%26lt; endl;
cin %26gt;%26gt; dnumber1;
cin %26gt;%26gt; dnumber2;
cin %26gt;%26gt; dnumber3;
daverage= (dnumber1 + dnumber2 + dnumber3) / 3;
cout %26lt;%26lt; "The average of the numbers are... " %26lt;%26lt; daverage %26lt;%26lt;endl %26lt;%26lt; endl;
system("pause");
return 0;
)
Can anyone with programming, specifically C++, experience help me? (little needed) What's wrong in this script
int main(void)
( %26lt;===== problem
That parenthesis needs to be changed to a "{" instead
....called a "left curly brace" .... it is next to the "P" key
Change the parenthesis at the bottom of your code too.
How toy run NS2,C++ and TCL language?
hi,
how can i run the defult example source code such as AODV routhing protocol in NS2,i am very new in NS2,i try to use tutorial website,but there is no mention about how to run the NS2 defults??
..one more quesiton is if i modify some sourcode do i need to modify C++ source code plus TCL(or even OTCL) or just one of them is enough??
thank you,
please let me know your email address or next contact.
thank you in advacne
regards
How toy run NS2,C++ and TCL language?
I don't think that c++ can be modified
daisy
how can i run the defult example source code such as AODV routhing protocol in NS2,i am very new in NS2,i try to use tutorial website,but there is no mention about how to run the NS2 defults??
..one more quesiton is if i modify some sourcode do i need to modify C++ source code plus TCL(or even OTCL) or just one of them is enough??
thank you,
please let me know your email address or next contact.
thank you in advacne
regards
How toy run NS2,C++ and TCL language?
I don't think that c++ can be modified
daisy
I'm looking for information on analyzing a/c compressors for semi's trucks and or large engines.?
Analyzing as far as failures drivers have on the road with a/c clutch and compressor combos.
If anyone has info as far as industry trades,books,tutorial dvd,weblinks,schools that could help me and or correspond emails with me it would be greatly appreciated.
I'm looking for information on analyzing a/c compressors for semi's trucks and or large engines.?
Do a web search for "TMC" or The Maintenance Council. This is an arm of the American Trucking Association. They are the ones who do the research and recommend standard practices for maintenance and repairs.
Reply:If there is a failure with a compressor, there is not much to diagnose, replace it and be sure of correct amount of oil and correct pressures.Also if a compressor fails, the condensor must be flushed and replace the reciever/drier. I'm not sure if you can get the brand of compressor and go to a web site that will help you. Automotive and tractor and semi-tractors have the same A/C system. They only have more or less freon in them.
Reply:The A/C compressors on big trucks will soon be a thing of the past they are working on a new system that info can`t be revealed due out in a few years. compressors will be a thing of the past
If anyone has info as far as industry trades,books,tutorial dvd,weblinks,schools that could help me and or correspond emails with me it would be greatly appreciated.
I'm looking for information on analyzing a/c compressors for semi's trucks and or large engines.?
Do a web search for "TMC" or The Maintenance Council. This is an arm of the American Trucking Association. They are the ones who do the research and recommend standard practices for maintenance and repairs.
Reply:If there is a failure with a compressor, there is not much to diagnose, replace it and be sure of correct amount of oil and correct pressures.Also if a compressor fails, the condensor must be flushed and replace the reciever/drier. I'm not sure if you can get the brand of compressor and go to a web site that will help you. Automotive and tractor and semi-tractors have the same A/C system. They only have more or less freon in them.
Reply:The A/C compressors on big trucks will soon be a thing of the past they are working on a new system that info can`t be revealed due out in a few years. compressors will be a thing of the past
What should i do next in c++??? + MATLAB software.?
I have taken only one course of c++ at college (engineering). We learned about: scan, print,loops, conditions,functions, macros,recursive functions,switch functions,pointers, 1d %26amp; 2d arrays,structures,a very short lecture about strings . Now , at summer time, i want to learn additional things about c++. Can anybody tell me what to do? please give me the link to it. consider that i am interested in topics involving numbers and calculations and not words and characters.
An additional question: I have found a tutorial of MATLAB linked to wikipedia, but i don't know where to get a free download to a matlab software.
What should i do next in c++??? + MATLAB software.?
Writing games is a very good option you can consider if you think you can do well in math.You can start with Mesa GL which can give you even more depth into C and c++ including callbacks,line drawing algorithms, and you can graduate to splines and other more complex algorithms.Finally you would have done enough to create a game ;)
You can try hacking with the kernel and device drivers on a linux box to get a better understanding of things which make linux click ;).Most of the linux kernel is written in C and C++.
AS for your information Matlab isnt free.You will have to pay a huge sum to get it.
Reply:dfghgetggeg
Reply:so far you've learned the C heritage of C++. The next language features would be classes, object oriented programming (OOP), and then templates. You find a lot of information and tutorials on the web.
my personal opinion, though: learning this doesn't lead to anything, unless you actually USE it. So think of some nice programs and implement them in C++. That way, it's more fun and you learn faster.
Reply:if you are really a programming enthusiast and you are that good, then you can try studying about database applications or try to study directX so you can start to create games with you would be applying math and complex calculations as you go on.
An additional question: I have found a tutorial of MATLAB linked to wikipedia, but i don't know where to get a free download to a matlab software.
What should i do next in c++??? + MATLAB software.?
Writing games is a very good option you can consider if you think you can do well in math.You can start with Mesa GL which can give you even more depth into C and c++ including callbacks,line drawing algorithms, and you can graduate to splines and other more complex algorithms.Finally you would have done enough to create a game ;)
You can try hacking with the kernel and device drivers on a linux box to get a better understanding of things which make linux click ;).Most of the linux kernel is written in C and C++.
AS for your information Matlab isnt free.You will have to pay a huge sum to get it.
Reply:dfghgetggeg
Reply:so far you've learned the C heritage of C++. The next language features would be classes, object oriented programming (OOP), and then templates. You find a lot of information and tutorials on the web.
my personal opinion, though: learning this doesn't lead to anything, unless you actually USE it. So think of some nice programs and implement them in C++. That way, it's more fun and you learn faster.
Reply:if you are really a programming enthusiast and you are that good, then you can try studying about database applications or try to study directX so you can start to create games with you would be applying math and complex calculations as you go on.
What's wrong with this C++ program?
I'm simply trying to start learning C++, and this hello world thing isn't working. What's wrong with the code? This tutorial says I'm doing it right, but it keeps telling me line 5 is wrong.
#include %26lt;iostream.h%26gt;
int main()
{
cout %26lt;%26lt; "Hello World!\n";
return 0;
}
What's wrong with this C++ program?
Make the cout line the following:
std::cout %26lt;%26lt; "Hello World!" %26lt;%26lt; std::endl;
Reply:you forgot to add the line : using namespace std;
under the include directive
this lets the compiler know what cout means
Reply:If you are using Visual C++ compiler, then try
#include "iostream.h"
#include %26lt;iostream.h%26gt;
int main()
{
cout %26lt;%26lt; "Hello World!\n";
return 0;
}
What's wrong with this C++ program?
Make the cout line the following:
std::cout %26lt;%26lt; "Hello World!" %26lt;%26lt; std::endl;
Reply:you forgot to add the line : using namespace std;
under the include directive
this lets the compiler know what cout means
Reply:If you are using Visual C++ compiler, then try
#include "iostream.h"
2 questions? Does C have hash tables and if so, where is a good tutorial for them?
The GNU tool gperf is a "perfect" hash function that, for a given set of user-provided strings, generates C/C++ code for a hash table, a hash function, and a lookup function. Learn how to use gperf for effective command-line processing in your C/C++ code.
http://www.ibm.com/developerworks/linux/...
gladiolus
http://www.ibm.com/developerworks/linux/...
gladiolus
Programming Small DLL's in C++?
Hello, I want to learn to program small DLL's in C++, so..... I can slowly move up to bigger ones. Does anyone know a good web tutorial or book to learn to program DLL's.
- Cheers, Daniel
Programming Small DLL's in C++?
I have listed several websites below that can help you write your very own DLL in C++. They are all over the web but here is a few to get you started.
Enjoy!
- Cheers, Daniel
Programming Small DLL's in C++?
I have listed several websites below that can help you write your very own DLL in C++. They are all over the web but here is a few to get you started.
Enjoy!
Using regular expressions in C++?
If you have a string of text
(for example, "1234 quick 1234 brown 1234 fox")
and you wanted to use a regular expression to identify any words in that string of text, what is the c++ code that would do it?
Note: A word is defined as any sequence of letters that is not interrupted by a space.
I could really use an example of code.
What #include statements would I need? Is there a way to do it without including regex? Where do I get regex (if I try to include it now, my compiler gives me an error, so I assume I need to get it from somewhere)?
Please note, I don't need a tutorial on regular expressions. I understand regular expressions well enough as it is, I just need to know how to use them in C++.
Using regular expressions in C++?
well... one way would be to search through the string until you found a space, or CR/LF.
Im not sure what you want to do when you find them but something like this will count them:
char mystring[] = "1234 quick 1234 brown 1234 fox";
int count, words = 0, spaces = 0, crlf = 0;
BOOL wordsstart = 1;
for (count = 0; count %26lt; sizeof(mystring); count++)
{
if (mystring[count] == 0x20) //space
{
spaces++;
wordstart = 1;
}
else if (mystring[count] == 0x0a || mystring[count] == 0x0d) //carriage return or line feed
{
crlf++;
wordstart = 1;
}
else if (wordstart %26amp;%26amp; ((mystring[count] %26gt;= 'a' %26amp;%26amp; mystring[count] %26lt;= 'z') || (mystring[count] %26gt;= 'A' %26amp;%26amp; mystring[count] %26lt;= 'Z')))
{
words++;
wordstart = 0;
}
}
its just off the top of my head, but it should work
Reply:google up pcre
http://www.pcre.org/!
(for example, "1234 quick 1234 brown 1234 fox")
and you wanted to use a regular expression to identify any words in that string of text, what is the c++ code that would do it?
Note: A word is defined as any sequence of letters that is not interrupted by a space.
I could really use an example of code.
What #include statements would I need? Is there a way to do it without including regex? Where do I get regex (if I try to include it now, my compiler gives me an error, so I assume I need to get it from somewhere)?
Please note, I don't need a tutorial on regular expressions. I understand regular expressions well enough as it is, I just need to know how to use them in C++.
Using regular expressions in C++?
well... one way would be to search through the string until you found a space, or CR/LF.
Im not sure what you want to do when you find them but something like this will count them:
char mystring[] = "1234 quick 1234 brown 1234 fox";
int count, words = 0, spaces = 0, crlf = 0;
BOOL wordsstart = 1;
for (count = 0; count %26lt; sizeof(mystring); count++)
{
if (mystring[count] == 0x20) //space
{
spaces++;
wordstart = 1;
}
else if (mystring[count] == 0x0a || mystring[count] == 0x0d) //carriage return or line feed
{
crlf++;
wordstart = 1;
}
else if (wordstart %26amp;%26amp; ((mystring[count] %26gt;= 'a' %26amp;%26amp; mystring[count] %26lt;= 'z') || (mystring[count] %26gt;= 'A' %26amp;%26amp; mystring[count] %26lt;= 'Z')))
{
words++;
wordstart = 0;
}
}
its just off the top of my head, but it should work
Reply:google up pcre
http://www.pcre.org/!
Visual C# Programming Project?
I am in a computing class in my school that allowed us to learn what ever we wanted, so long as we were learning at a decent pace and the instructer knew what we were doing.
Anyways, I chose to teach myself Visual C# and I learned alot of the basics in coding, as well as creating forms.
After 9 weeks though we have to submit a project review thing that shows what we have done, and I want to code something that can demonstrate what I have learned, but cant come up with any cool ideas.
Anyone know of something I could do, even if its abit harder if you know of a tutorial or something that makes a cool program, or even a full project already done that allows you to edit it and customize it ect.
Visual C# Programming Project?
Well the good way to gain brownie points and actually do something that you can write on your resume is work on an open source project either fixing code or adding features. Unfortunately MS is not very friendly with Open source so I really dont know any projects in c#. Try doing something web related like a online diet diary or fitness tracker etc. The problem with web apps is that if you do not know what you are doing you can make your code insecure and get hacked.
Anyways, I chose to teach myself Visual C# and I learned alot of the basics in coding, as well as creating forms.
After 9 weeks though we have to submit a project review thing that shows what we have done, and I want to code something that can demonstrate what I have learned, but cant come up with any cool ideas.
Anyone know of something I could do, even if its abit harder if you know of a tutorial or something that makes a cool program, or even a full project already done that allows you to edit it and customize it ect.
Visual C# Programming Project?
Well the good way to gain brownie points and actually do something that you can write on your resume is work on an open source project either fixing code or adding features. Unfortunately MS is not very friendly with Open source so I really dont know any projects in c#. Try doing something web related like a online diet diary or fitness tracker etc. The problem with web apps is that if you do not know what you are doing you can make your code insecure and get hacked.
How do I use C++?
I have never donw any programming in my life and was recommended to start with C/C++. I have no idea how to use it and I also need to know what I need to get to program on. I also need to know how to get my hands on whatever I need and how to get a decent tutorial so I can learn easily.
How do I use C++?
Go to book store and buy "Beginning programming for dummies", not kidding, this was my first book, and now I am a certified programmer. Don't start with C/C++.
Reply:I think you shouldn't use C++. VB.Net is a great beginner language (I started with it and in less than a year I moved on to C# and I have to say I'm pretty good) and you can download it for free. C++ gets mind boggling. If you insist on C++ then go to the bookstore and find some book entitled "Beginning C++" or something like that and read every page. You will need an IDE, I like Dev C++ because it's pretty good and it's free. Good luck.
Reply:If you've never done any programming C++ is not the place to start. I would recommend a scripting language like perl or python, which are free and you can download to any computer - mac, linux or windows. There are some basics you need to understand and any easy language will help you as much as any.
Here are the very basics:
variables
arithmetics
boolean (true/false) logic
conditionals (if then else clauses)
loops (for counting and iterating)
input from keyboard and output to screen
once you are comfortable with these then you can move on.
Typically every one starts out creating a program that just outputs "Hello World!" to the screen. Once you've done that you're ready for trying out loops, conditionals, arithmetic etc. Then download other peoples samples and try to figure them out and modify them.
I happen to like python because it starts easy you can use any text editor to creat your first program. And plenty of online samples and documentation to get you going
Reply:You will need a compiler (to turn your code into something the computer can run). Compilers usually come with a development environment, which is where you do your coding. I would recomend either dev C++ or microsoft visual C++ depending on what you want to do with it and why you are learning it. Download links listed below.
As for learning the language, there are plenty of good resources on the internet, however I would recomend buying a book or two, especially if you are new to programming
narcissus
How do I use C++?
Go to book store and buy "Beginning programming for dummies", not kidding, this was my first book, and now I am a certified programmer. Don't start with C/C++.
Reply:I think you shouldn't use C++. VB.Net is a great beginner language (I started with it and in less than a year I moved on to C# and I have to say I'm pretty good) and you can download it for free. C++ gets mind boggling. If you insist on C++ then go to the bookstore and find some book entitled "Beginning C++" or something like that and read every page. You will need an IDE, I like Dev C++ because it's pretty good and it's free. Good luck.
Reply:If you've never done any programming C++ is not the place to start. I would recommend a scripting language like perl or python, which are free and you can download to any computer - mac, linux or windows. There are some basics you need to understand and any easy language will help you as much as any.
Here are the very basics:
variables
arithmetics
boolean (true/false) logic
conditionals (if then else clauses)
loops (for counting and iterating)
input from keyboard and output to screen
once you are comfortable with these then you can move on.
Typically every one starts out creating a program that just outputs "Hello World!" to the screen. Once you've done that you're ready for trying out loops, conditionals, arithmetic etc. Then download other peoples samples and try to figure them out and modify them.
I happen to like python because it starts easy you can use any text editor to creat your first program. And plenty of online samples and documentation to get you going
Reply:You will need a compiler (to turn your code into something the computer can run). Compilers usually come with a development environment, which is where you do your coding. I would recomend either dev C++ or microsoft visual C++ depending on what you want to do with it and why you are learning it. Download links listed below.
As for learning the language, there are plenty of good resources on the internet, however I would recomend buying a book or two, especially if you are new to programming
narcissus
Could someone give me a tutorial on how to write a GUI framework/library in c++?
I Want to write an API like windows.h or GTK. I know this might be hard, but I want to try.
Could someone give me a tutorial on how to write a GUI framework/library in c++?
go to codeproject.com and learn MFC and WTL for gui framework
Reply:It's harder to write the tutorial than it is to write the library.
Most programmers buy a library, rather than write one, especially C++ programmers. After all, if they were into systems programming, they'd be using C, not C++.
And if you need a tutorial in order to do it, you are going to end up with something unusable.
So, I imagine the answer to your question is "no".
Reply:I don't see why you would want to. On Windows, you can use DirectX, GDI, or GDI+ for graphics work. However, if you've created some useful graphics procedures which make use of DirectX, GDI, or GDI+, then you can just make your procedures public and put them into a .dll file.
There's 2 ways you can go. You can write a COM object, or you can just write a .dll file with public procedures. I don't recommend the COM object route because there is more work and you should know that COM objects, OOP, and frameworks produce bloated, slow code.
Creating a .dll file is easy. I don't recommend that you use a framework (Microsoft's MFC or Borland's VCL) for creating a .dll file because your code might require some of the stupid 'support' .dll files that those frameworks use. You don't want to bother having to include those files when you distribute your .dll file.
Here's information on DLL files:
http://msdn2.microsoft.com/en-us/library...
(Remember to set the linker to create a .dll file, not an .exe file.)
Reply:Or else you may contact a C++ expert at websites like http://oktutorial.com/
Could someone give me a tutorial on how to write a GUI framework/library in c++?
go to codeproject.com and learn MFC and WTL for gui framework
Reply:It's harder to write the tutorial than it is to write the library.
Most programmers buy a library, rather than write one, especially C++ programmers. After all, if they were into systems programming, they'd be using C, not C++.
And if you need a tutorial in order to do it, you are going to end up with something unusable.
So, I imagine the answer to your question is "no".
Reply:I don't see why you would want to. On Windows, you can use DirectX, GDI, or GDI+ for graphics work. However, if you've created some useful graphics procedures which make use of DirectX, GDI, or GDI+, then you can just make your procedures public and put them into a .dll file.
There's 2 ways you can go. You can write a COM object, or you can just write a .dll file with public procedures. I don't recommend the COM object route because there is more work and you should know that COM objects, OOP, and frameworks produce bloated, slow code.
Creating a .dll file is easy. I don't recommend that you use a framework (Microsoft's MFC or Borland's VCL) for creating a .dll file because your code might require some of the stupid 'support' .dll files that those frameworks use. You don't want to bother having to include those files when you distribute your .dll file.
Here's information on DLL files:
http://msdn2.microsoft.com/en-us/library...
(Remember to set the linker to create a .dll file, not an .exe file.)
Reply:Or else you may contact a C++ expert at websites like http://oktutorial.com/
Basic of C language with tips up to advanced i need a e tutorial , book ,or a website based on this topic?
If you know then please answer me
Basic of C language with tips up to advanced i need a e tutorial , book ,or a website based on this topic?
C++ May be actually better to start off with as most places are getting away from using regular C.
In that case I reccoment : C++ Programming: Problem Analysis To Program Design
http://www.amazon.com/C++-Programming-Pr...
Reply:I didn't know they still used C? When i graduated college in 02 everything had changed to Java...there wasn't even a C class left in the school!
Reply:please refer to "Let us 'c' written by yashwant kanitkar
statice
Basic of C language with tips up to advanced i need a e tutorial , book ,or a website based on this topic?
C++ May be actually better to start off with as most places are getting away from using regular C.
In that case I reccoment : C++ Programming: Problem Analysis To Program Design
http://www.amazon.com/C++-Programming-Pr...
Reply:I didn't know they still used C? When i graduated college in 02 everything had changed to Java...there wasn't even a C class left in the school!
Reply:please refer to "Let us 'c' written by yashwant kanitkar
statice
Help with dev c++ compiler?
I just downloaded the dev c++ compiler, I tried writing similar to the way I do in dark basic, needless to say. EPIC FAIL. I tried googling a tutorial, I copied one of their programs to see if I could manipulate it, but the code didn't even work. (I triple checked, it was exact when I tried to run but it kept saying the program had to be compiled first, even though I tried compiling it about 6 times.) Some hints for a beginner dev c++ user would be appriciated.
Help with dev c++ compiler?
I dumped Windows for Linux years ago (completed the transition in '05). I use GCC but I don't use any IDEs (one reason I jumped). Nevertheless I've searched for a couple of tutorials for you (Incidently, before you try running something you go to Execute-%26gt;Compile on the menu or hit Ctl-F9).
Actually, everyone dumps you back to the same place: Dev C++ tutorial for CS 161 Students. I remember it as a good compiler (It's GCC in disguise after all). Try to get over your natural frustration.
Reply:What error messages was the compiler giving you?
Also, I took a quick look at SharpDevelop program that shickity recommended. It is C# and .Net IDE. Unless it has a plugin to handle standard C++, it will not help someone try to write C++.
Reply:I would switch to SharpDevelop. Similar syntax, and VISUAL design. Drag-and-drop GUI for most buttons, text boxes, etc. :P
Help with dev c++ compiler?
I dumped Windows for Linux years ago (completed the transition in '05). I use GCC but I don't use any IDEs (one reason I jumped). Nevertheless I've searched for a couple of tutorials for you (Incidently, before you try running something you go to Execute-%26gt;Compile on the menu or hit Ctl-F9).
Actually, everyone dumps you back to the same place: Dev C++ tutorial for CS 161 Students. I remember it as a good compiler (It's GCC in disguise after all). Try to get over your natural frustration.
Reply:What error messages was the compiler giving you?
Also, I took a quick look at SharpDevelop program that shickity recommended. It is C# and .Net IDE. Unless it has a plugin to handle standard C++, it will not help someone try to write C++.
Reply:I would switch to SharpDevelop. Similar syntax, and VISUAL design. Drag-and-drop GUI for most buttons, text boxes, etc. :P
Very simple C++ help?
I'm using visual Studio .net 2003. It's a completely legal version so I know it wasn't tampered with.
This is my code:
@include %26lt;iostream.h%26gt;
int main()
{
cout %26lt;%26lt; "Hello World!\n";
return 0;
}
This is the result:
Linking...
HelloWorld.obj : error LNK2019: unresolved external symbol "long __stdcall About(struct HWND__ *,unsigned int,unsigned int,long)" (?About@@YGJPAUHWND__@@IIJ@Z) referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
Debug/HelloWorld.exe : fatal error LNK1120: 1 unresolved externals
My tutorial book says to type it just like that, and I started it as a blank C++ file.. is my compiler broken or am I missing something fundamental?
Thanks
-Simba
Very simple C++ help?
Linker tells you, that the code in your function "WndProc" tries to call function "About", but you do not have any function with that name. Looks like you created your project as "Windows Application" (while it should be "Console application") and didn't manage to remove all the unneeded generated code.
The easiest way to solve your problem is to start all over:
* Select from the main menu: File-%26gt;New-%26gt;Project
* In "New project" dialog select "Visual C++" to the left and "Win32 Project" to the right. Name your project and press "Ok".
* In "Win32 Application Wizard" window select "Application Settings", then set application type as "Console application". Now press "Finish" - the project will be created.
* Now type your code and compile. Good luck!
Reply:wheres stdio.h?
ignore the scope resolution operator guy, he works for Turbo...
Did you select the right t kind of Project?
try creating a simple pre-made console app from the templates...
Reply:Problem is with the @include
should read #include %26lt;iostream.h%26gt;
stdio.h is referenced in iostream.h but as a general rule include it anyway
Reply:When the linker gives you errors, it means that it cannot find the .lib files that it needs to link your program.
However, in this case, it looks like you might have told VS to build a Windows32 program, instead of a console program. I don't have VS, but I have Visual C++ 2005 Express and the project setup should be similar. When you create a project, specify a 'Win32 Console Program.'
Also, I think you're not supposed to put the '.h' file extension after the name of the header file that you wish to #include in Microsoft Visual C++. (Look in the compiler's help file for 'Standard C++ Library Overview.'
Remember to insert this line after your '#include' lines:
using namespace std;
Reply:is it
@include %26lt;iostream.h%26gt; ?
it should be
#include %26lt;iostream.h%26gt;
use "#" instead of "@"
and also you should
#include %26lt;stdio.h%26gt;
but in some compilers, it is default included.
Reply:// test.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "io.h"
int _tmain(int argc, _TCHAR* argv[])
{
printf("Hello World");
return 0;
}
That is my code on VS 2005. I used a console application template.
The link file iostream.h does not exist in my system. That's strange. Sorry, if I can't be of much help.
Reply:Use std::cout
This is my code:
@include %26lt;iostream.h%26gt;
int main()
{
cout %26lt;%26lt; "Hello World!\n";
return 0;
}
This is the result:
Linking...
HelloWorld.obj : error LNK2019: unresolved external symbol "long __stdcall About(struct HWND__ *,unsigned int,unsigned int,long)" (?About@@YGJPAUHWND__@@IIJ@Z) referenced in function "long __stdcall WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@@YGJPAUHWND__@@IIJ@Z)
Debug/HelloWorld.exe : fatal error LNK1120: 1 unresolved externals
My tutorial book says to type it just like that, and I started it as a blank C++ file.. is my compiler broken or am I missing something fundamental?
Thanks
-Simba
Very simple C++ help?
Linker tells you, that the code in your function "WndProc" tries to call function "About", but you do not have any function with that name. Looks like you created your project as "Windows Application" (while it should be "Console application") and didn't manage to remove all the unneeded generated code.
The easiest way to solve your problem is to start all over:
* Select from the main menu: File-%26gt;New-%26gt;Project
* In "New project" dialog select "Visual C++" to the left and "Win32 Project" to the right. Name your project and press "Ok".
* In "Win32 Application Wizard" window select "Application Settings", then set application type as "Console application". Now press "Finish" - the project will be created.
* Now type your code and compile. Good luck!
Reply:wheres stdio.h?
ignore the scope resolution operator guy, he works for Turbo...
Did you select the right t kind of Project?
try creating a simple pre-made console app from the templates...
Reply:Problem is with the @include
should read #include %26lt;iostream.h%26gt;
stdio.h is referenced in iostream.h but as a general rule include it anyway
Reply:When the linker gives you errors, it means that it cannot find the .lib files that it needs to link your program.
However, in this case, it looks like you might have told VS to build a Windows32 program, instead of a console program. I don't have VS, but I have Visual C++ 2005 Express and the project setup should be similar. When you create a project, specify a 'Win32 Console Program.'
Also, I think you're not supposed to put the '.h' file extension after the name of the header file that you wish to #include in Microsoft Visual C++. (Look in the compiler's help file for 'Standard C++ Library Overview.'
Remember to insert this line after your '#include' lines:
using namespace std;
Reply:is it
@include %26lt;iostream.h%26gt; ?
it should be
#include %26lt;iostream.h%26gt;
use "#" instead of "@"
and also you should
#include %26lt;stdio.h%26gt;
but in some compilers, it is default included.
Reply:// test.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "io.h"
int _tmain(int argc, _TCHAR* argv[])
{
printf("Hello World");
return 0;
}
That is my code on VS 2005. I used a console application template.
The link file iostream.h does not exist in my system. That's strange. Sorry, if I can't be of much help.
Reply:Use std::cout
C++ Beginner! Just a tiny question!?
ok, you experienced programmers... dont laugh at me! my programing experence stopped when my commodore 64 broke! I have chose to take this last week before christmas and teach myself as much about c++ as possible. Today is my first day and I am stumped on a point in chapter 3 of my book dealing with loops.I understand the loops but i am just experimenting and trying to make a program different than the tutorial. All I want to do is output 2 variables on the same line.
cout %26lt;%26lt;first variable%26lt;%26lt; %26lt;%26lt;then the second variable%26lt;%26lt;;
get my point?
Also id like to know how to do this..
cout %26lt;%26lt;"some text"%26lt;%26lt;first variable%26lt;%26lt; %26lt;%26lt;"some text"%26lt;%26lt; %26lt;%26lt;then the second variable%26lt;%26lt;"some text";
here is my code
#include %26lt;iostream%26gt;
using namespace std;
int main()
{
int y=0;
for (int x=1;x%26lt;4097;x=x*2) {
y=y++;
cout%26lt;%26lt;y%26lt;%26lt; %26lt;%26lt;x%26lt;%26lt;endl; //%26lt;----- Problem Line!
}
cin.get();
return 1;
}
/* Output sould look like this
1 1
2 2
3 4
4 8
5 16
etc...*/
Any advice appreciated! Thanks
C++ Beginner! Just a tiny question!?
There should only be one %26lt;%26lt;. You put 2 that causes an error.
If you want to add text its the same as what you did above. Like this: cout %26lt;%26lt; "text" %26lt;%26lt; x %26lt;%26lt; endl;
Just enclose the text in double quotation marks and they will display as text.
Note: endl is end line or new line equivalent to \n in C.
use return 0 to notify the OS that the program is successfully executed. Usually the compiler will return 0 automatically when it reaches the closing bracket of main. Return 1 is used to return the number 1 to the operating system so it is not necessary and useless.
Reply:cout %26lt;%26lt; y %26lt;%26lt; x %26lt;%26lt; endl.
You got too many %26lt;%26lt;'s
Reply:int main()
you defined your main program to return an int
value, that is why your compiler is "complaining".. ^^
i don't know if it you change it to "void main()",
and delete the "return 1;" will work..
btw, im using code::blocks. it's free and more
compliant to standard C/C++, i guess.. ^_^v
btw, you should not be using "return 1;"..
it should be "return 0;", coz any number
returned by a console program to the os %26gt; 0
is interpreted(by the OS) as error value..
peace out.. ^_^v
cout %26lt;%26lt;first variable%26lt;%26lt; %26lt;%26lt;then the second variable%26lt;%26lt;;
get my point?
Also id like to know how to do this..
cout %26lt;%26lt;"some text"%26lt;%26lt;first variable%26lt;%26lt; %26lt;%26lt;"some text"%26lt;%26lt; %26lt;%26lt;then the second variable%26lt;%26lt;"some text";
here is my code
#include %26lt;iostream%26gt;
using namespace std;
int main()
{
int y=0;
for (int x=1;x%26lt;4097;x=x*2) {
y=y++;
cout%26lt;%26lt;y%26lt;%26lt; %26lt;%26lt;x%26lt;%26lt;endl; //%26lt;----- Problem Line!
}
cin.get();
return 1;
}
/* Output sould look like this
1 1
2 2
3 4
4 8
5 16
etc...*/
Any advice appreciated! Thanks
C++ Beginner! Just a tiny question!?
There should only be one %26lt;%26lt;. You put 2 that causes an error.
If you want to add text its the same as what you did above. Like this: cout %26lt;%26lt; "text" %26lt;%26lt; x %26lt;%26lt; endl;
Just enclose the text in double quotation marks and they will display as text.
Note: endl is end line or new line equivalent to \n in C.
use return 0 to notify the OS that the program is successfully executed. Usually the compiler will return 0 automatically when it reaches the closing bracket of main. Return 1 is used to return the number 1 to the operating system so it is not necessary and useless.
Reply:cout %26lt;%26lt; y %26lt;%26lt; x %26lt;%26lt; endl.
You got too many %26lt;%26lt;'s
Reply:int main()
you defined your main program to return an int
value, that is why your compiler is "complaining".. ^^
i don't know if it you change it to "void main()",
and delete the "return 1;" will work..
btw, im using code::blocks. it's free and more
compliant to standard C/C++, i guess.. ^_^v
btw, you should not be using "return 1;"..
it should be "return 0;", coz any number
returned by a console program to the os %26gt; 0
is interpreted(by the OS) as error value..
peace out.. ^_^v
C++ Hash Table?
Hey There, I am trying to make a hash table in C++ using a linked list.
I should have been paying attention more in class but I didn't so now I do not know how to make one.
The prof's notes aren't that great and my textbook is in Java so I am a little bit screwed. So I have been searching on the internet on how to make one and I have not found a tutorial that is that great.
I need to make a hash table to put in a bunch of different words and do a bunch of calculations on.
So my question is, can someone help me, more specifically does someone know of a good website that can explain and help me create this hash table and hashing function.
Thanks.
C++ Hash Table?
Wow. Some people are SO lazy.
TEN SECONDS with a search engine brought up umpteen hits. I guarantee you spent longer than that, just writing your question!
Anyway, try:
http://cis.stvincent.edu/html/tutorials/...
http://www.nist.gov/dads/HTML/hash.html
http://www.concentric.net/~Ttwang/tech/s...
http://www.cs.fiu.edu/~weiss/dsaa_c++/co...
http://www.partow.net/programming/hashfu...
http://www.codeguru.com/cpp/cpp/algorith...
http://www.uow.edu.au/~nabg/ABC/ABC.html
http://en.wikipedia.org/wiki/Virtual_tab...
Chances are you will find what you want on AT LEAST one of those links, you lazy git.
Reply:download the sourcecode of chess program crafty , theere is a hashfunction inside it. its in C but easily rewriten in C++ by putting it in a clas
good luck you will need it
clematis
I should have been paying attention more in class but I didn't so now I do not know how to make one.
The prof's notes aren't that great and my textbook is in Java so I am a little bit screwed. So I have been searching on the internet on how to make one and I have not found a tutorial that is that great.
I need to make a hash table to put in a bunch of different words and do a bunch of calculations on.
So my question is, can someone help me, more specifically does someone know of a good website that can explain and help me create this hash table and hashing function.
Thanks.
C++ Hash Table?
Wow. Some people are SO lazy.
TEN SECONDS with a search engine brought up umpteen hits. I guarantee you spent longer than that, just writing your question!
Anyway, try:
http://cis.stvincent.edu/html/tutorials/...
http://www.nist.gov/dads/HTML/hash.html
http://www.concentric.net/~Ttwang/tech/s...
http://www.cs.fiu.edu/~weiss/dsaa_c++/co...
http://www.partow.net/programming/hashfu...
http://www.codeguru.com/cpp/cpp/algorith...
http://www.uow.edu.au/~nabg/ABC/ABC.html
http://en.wikipedia.org/wiki/Virtual_tab...
Chances are you will find what you want on AT LEAST one of those links, you lazy git.
Reply:download the sourcecode of chess program crafty , theere is a hashfunction inside it. its in C but easily rewriten in C++ by putting it in a clas
good luck you will need it
clematis
C++ error, Please Help!!!!!?
i got this error in C++ 'Terminal bash'. what does it mean, how did it come and how can i fix it?
Also, do you know any good GUI tutorial website?
C++ error, Please Help!!!!!?
If you happen to be using a Linux environment, bash is your command shell and it is telling you it doesn't know how to interpret the command you issued. Check the path to the directory and the existence of the file or link, if you are indeed using Linux of some flavor. I hope this will help you find your problem.
Also, do you know any good GUI tutorial website?
C++ error, Please Help!!!!!?
If you happen to be using a Linux environment, bash is your command shell and it is telling you it doesn't know how to interpret the command you issued. Check the path to the directory and the existence of the file or link, if you are indeed using Linux of some flavor. I hope this will help you find your problem.
Does anybody know of a good website to learn C++ or C Computer Language?
I've been trying to learn Python, but I haven't had any luck. So I decided to try to learn C or C++. Does anyone know where I can learn it or where there is a good tutorial? Also, should I learn Python before the others?
Does anybody know of a good website to learn C++ or C Computer Language?
C++ or C? They are two different languages. You may want to pick one first. I’ll give you a general site that’s pretty useful: http://cprogramming.com , but the real way to learn C++ is through books. There’s a lot of bad learning resources out there (incorrect, obsolete, etc.) and you want to make sure you learn C++ correctly. If you pick C++ by any chance, get the books Accelerated C++ (by Koenig) and C++ Primer (by Stanley Lippman).
%26gt; I've been trying to learn Python, but I haven't had any luck.
When you didn’t understand something, did you take the time to Google it?
%26gt; Also, should I learn Python before the others?
If you can’t learn Python, you probably won’t get very far with C++ or C. Python is considered a very easy language to learn, while C++ is considered very difficult.
Edit 1:
%26gt; I was actually just wondering if Python must be learned first.
No. I would recommend starting with Python first though.
Reply:No, you don' have to learn Python first. I don't think learning C or C++ will be much easier though, so ultimately which one you learn first is up to you.
I'm linking a website that has C++ tutorials.
Reply:C++ tutorial = http://www.cplusplus.com/doc/tutorial/
Python tutorial = http://docs.python.org/tut/
Does anybody know of a good website to learn C++ or C Computer Language?
C++ or C? They are two different languages. You may want to pick one first. I’ll give you a general site that’s pretty useful: http://cprogramming.com , but the real way to learn C++ is through books. There’s a lot of bad learning resources out there (incorrect, obsolete, etc.) and you want to make sure you learn C++ correctly. If you pick C++ by any chance, get the books Accelerated C++ (by Koenig) and C++ Primer (by Stanley Lippman).
%26gt; I've been trying to learn Python, but I haven't had any luck.
When you didn’t understand something, did you take the time to Google it?
%26gt; Also, should I learn Python before the others?
If you can’t learn Python, you probably won’t get very far with C++ or C. Python is considered a very easy language to learn, while C++ is considered very difficult.
Edit 1:
%26gt; I was actually just wondering if Python must be learned first.
No. I would recommend starting with Python first though.
Reply:No, you don' have to learn Python first. I don't think learning C or C++ will be much easier though, so ultimately which one you learn first is up to you.
I'm linking a website that has C++ tutorials.
Reply:C++ tutorial = http://www.cplusplus.com/doc/tutorial/
Python tutorial = http://docs.python.org/tut/
Any similarity BTN Java languages? & C++ Languages?
Does all Java languages use the same commands? and
Does all c++ languages use the same commands?
Where can Find free really good VB.NET tutorial?
Any similarity BTN Java languages? %26amp; C++ Languages?
Firstly there's only one java language, which is written with several interfaces, but the java compiler is the same.
The syntax in Java is pretty much the same as in C++. The only thing is that Java is fully object oriented while C++ is only partially. Which means that if you write Java code, you have to declare classes, while C++ can run C codes which aren't object orinted, so you can write programs without classes. For VB tutorials try:
http://www.programmingtutorials.com/vbne...
Reply:no similarity. nowhere.
Does all c++ languages use the same commands?
Where can Find free really good VB.NET tutorial?
Any similarity BTN Java languages? %26amp; C++ Languages?
Firstly there's only one java language, which is written with several interfaces, but the java compiler is the same.
The syntax in Java is pretty much the same as in C++. The only thing is that Java is fully object oriented while C++ is only partially. Which means that if you write Java code, you have to declare classes, while C++ can run C codes which aren't object orinted, so you can write programs without classes. For VB tutorials try:
http://www.programmingtutorials.com/vbne...
Reply:no similarity. nowhere.
Can some one point me to a simple/basic tutorial of using a mySql local DB in a C# program.?
All i am trying to do is make a mySQL local data base that keeps track of first name, last name, and birthday. The main part i need help with is how to access this Data base in the code.
Can some one point me to a simple/basic tutorial of using a mySql local DB in a C# program.?
I would learn mySQL first.
Learn how to create a database, and grant privileges to a user. You do not have to create a database or grant privileges from your C application (although you can). You can run them in mySQL from the command editor included in the download. The link below is a tutorial that demonstrates how to do so in JJAVA, but the SQL is platform independent, so you can user the SQL statements in the article in C language. May sound confusing but, trust me.
http://www.developer.com/java/data/artic...
Afterwards, you want to query the language to create and manipulate tables in the database.
Once you learn the language you just put your query statements inside the C function that is responsible for creating a query transaction to the mySQL Server.
an example in Java,
//define login info
//String username = password = "yourinfo";
//define SQL query (you could use this declaration in C too!)
String query = "CREATE TABLE TestDataBase";
//create connection to mySQL server
Connection c = DriverManager.connect("mysql:localhost:3... username, password);
//a statement object creates a query transaction
Statment s = c.createStatement();
//query the database and save the results
ResultSet rs = s.executeQuery(query);
//address the first record and get the value under a column
rs.first();
String birthDay = rs.getObject("birthday");
System.out.println(birthDay);
columbine
Can some one point me to a simple/basic tutorial of using a mySql local DB in a C# program.?
I would learn mySQL first.
Learn how to create a database, and grant privileges to a user. You do not have to create a database or grant privileges from your C application (although you can). You can run them in mySQL from the command editor included in the download. The link below is a tutorial that demonstrates how to do so in JJAVA, but the SQL is platform independent, so you can user the SQL statements in the article in C language. May sound confusing but, trust me.
http://www.developer.com/java/data/artic...
Afterwards, you want to query the language to create and manipulate tables in the database.
Once you learn the language you just put your query statements inside the C function that is responsible for creating a query transaction to the mySQL Server.
an example in Java,
//define login info
//String username = password = "yourinfo";
//define SQL query (you could use this declaration in C too!)
String query = "CREATE TABLE TestDataBase";
//create connection to mySQL server
Connection c = DriverManager.connect("mysql:localhost:3... username, password);
//a statement object creates a query transaction
Statment s = c.createStatement();
//query the database and save the results
ResultSet rs = s.executeQuery(query);
//address the first record and get the value under a column
rs.first();
String birthDay = rs.getObject("birthday");
System.out.println(birthDay);
columbine
Help please on microsoft visual c++ express edition 2008?
well this is really annoying me im trying to do a tutorial i downloded (the game creators) but i go to debug and it says this: c:\program files\the game creators\dark gdk\include\darksdkcamera.h(16) : fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
Build log was saved at "file://c:\Documents and Settings\dan\My Documents\Visual Studio 2008\Projects\Dark GDK - Game1\Dark GDK - Game1\Debug\BuildLog.htm"
Dark GDK - Game1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== any help would be good thanks
Help please on microsoft visual c++ express edition 2008?
d3dx9.h is part of the DirectX 9 SDK, you need to download and install it from the Microsoft DirectX site (see the link below). Make sure you download the SDK and not the runtime version.
***UPDATED***
Seriously, that's the problem...I'm a professional game developer, I have to include this file in all of my 3D applications. The d3dx9.h file is in the DirectX 9 include directory, if you have already installed the DirectX 9 SDK then you haven't added that directory to the list of directories that Visual Studio searches for its include files, you can do that in the options page. Alternatively you can add it to the project settings, although that's not as good an option because you'll have to do that for *all* projects you download that include it.
Reply:The video has an issue in step3. Look at the instructions at http://msdn.microsoft.com/vstudio/expres... and specifically step 3 to set the include path.
Fatal Error C1083
Error Message
Cannot open filetype file: 'file': message
To fix by checking the following possible causes
File does not exist.
File, subdirectory, or disk is read-only.
No access permission for file or directory.
Not enough file handles. Close some applications and recompile.
The INCLUDE environment variable is set incorrectly.
An #include directive uses double quotation marks around a path specification, which causes the standard directories to be skipped.
You did not specify /clr and your program uses CLR constructs.
You attempted to compile a single file in the project without first compiling stdafx.cpp. Before you can compile a single file in the project, you need to compile stdafx.cpp. In the case of the /analyze (Enterprise Code Analysis) compiler option, you will need to use the same /analyze setting for stdafx.cpp that you use for the .cpp file.
the following sample generates C1083:
Copy Code
// C1083.cpp
// compile with: /c
#include "test.h" // C1083 test.h does not exist
#include "stdio.h" // OK
Hope this helps!
ctc
Build log was saved at "file://c:\Documents and Settings\dan\My Documents\Visual Studio 2008\Projects\Dark GDK - Game1\Dark GDK - Game1\Debug\BuildLog.htm"
Dark GDK - Game1 - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== any help would be good thanks
Help please on microsoft visual c++ express edition 2008?
d3dx9.h is part of the DirectX 9 SDK, you need to download and install it from the Microsoft DirectX site (see the link below). Make sure you download the SDK and not the runtime version.
***UPDATED***
Seriously, that's the problem...I'm a professional game developer, I have to include this file in all of my 3D applications. The d3dx9.h file is in the DirectX 9 include directory, if you have already installed the DirectX 9 SDK then you haven't added that directory to the list of directories that Visual Studio searches for its include files, you can do that in the options page. Alternatively you can add it to the project settings, although that's not as good an option because you'll have to do that for *all* projects you download that include it.
Reply:The video has an issue in step3. Look at the instructions at http://msdn.microsoft.com/vstudio/expres... and specifically step 3 to set the include path.
Fatal Error C1083
Error Message
Cannot open filetype file: 'file': message
To fix by checking the following possible causes
File does not exist.
File, subdirectory, or disk is read-only.
No access permission for file or directory.
Not enough file handles. Close some applications and recompile.
The INCLUDE environment variable is set incorrectly.
An #include directive uses double quotation marks around a path specification, which causes the standard directories to be skipped.
You did not specify /clr and your program uses CLR constructs.
You attempted to compile a single file in the project without first compiling stdafx.cpp. Before you can compile a single file in the project, you need to compile stdafx.cpp. In the case of the /analyze (Enterprise Code Analysis) compiler option, you will need to use the same /analyze setting for stdafx.cpp that you use for the .cpp file.
the following sample generates C1083:
Copy Code
// C1083.cpp
// compile with: /c
#include "test.h" // C1083 test.h does not exist
#include "stdio.h" // OK
Hope this helps!
ctc
Is there any website where there are free tutorial on " linked lists / structures (A to Z)in C++ " ?
http://www.inversereality.org/tutorials/...
http://www.fortunecity.com/skyscraper/fa...
http://richardbowles.tripod.com/cpp/link...
http://www.functionx.com/cpp/articles/li...
They're all good sites. I also have a few Powerpoint slides about them, because I've had lots of programming courses. Just ask me if you want them. :)
Is there any website where there are free tutorial on " linked lists / structures (A to Z)in C++ " ?
Use Limewire or Ares. Search for "documents" related to C, C++ programming. You will get a lot of good e-books.
Reply:check out this link
www.geocities.com/sstutor
http://www.fortunecity.com/skyscraper/fa...
http://richardbowles.tripod.com/cpp/link...
http://www.functionx.com/cpp/articles/li...
They're all good sites. I also have a few Powerpoint slides about them, because I've had lots of programming courses. Just ask me if you want them. :)
Is there any website where there are free tutorial on " linked lists / structures (A to Z)in C++ " ?
Use Limewire or Ares. Search for "documents" related to C, C++ programming. You will get a lot of good e-books.
Reply:check out this link
www.geocities.com/sstutor
I know a little bit C programming. I want to lern PERL. Any easy book/tutorial online ?
The resource I like best is the O'Reilly book, "Learning Perl". For online resources, try perlmonks.org - http://www.perlmonks.org/index.pl?node=T... .
I know a little bit C programming. I want to lern PERL. Any easy book/tutorial online ?
check w3schools.com
I know a little bit C programming. I want to lern PERL. Any easy book/tutorial online ?
check w3schools.com
C++ beginner problem!?
hey everyone, im starting out C++ programming using Visual c++ 2008.
I have done the whole hello world file. The problem is when i press start debugging (i.e. play) the prompt comes up for like less than second! Its weird, they said the prompt should come up in the tutorial but i never get a chance to see anything?
Any help?
Appreciate it:)
C++ beginner problem!?
Either set a breakpoint on the last line of your main() function, or add something like this to the end:
std::string x;
std::cin%26gt;%26gt;x;
That'll pause the program until you type something and press Return.
Reply:that isn't supposed to happen but you can make an infiite loop if you need to keep the prompt there.
like:
boolean foo;
do{
foo = true;
} while (foo == true);
Reply:If you are using Visual C++ (express?) 2008, it should stay up until you "Press any key to continue". Try pressing Ctrl + F5 instead. It runs AND compiles it. If that doesnt work, try adding system("pause"); after your cout%26lt;%26lt;"hello world"; statement.
Reply:Attempting to read anything from stdin should keep your dialog up.
carnation
I have done the whole hello world file. The problem is when i press start debugging (i.e. play) the prompt comes up for like less than second! Its weird, they said the prompt should come up in the tutorial but i never get a chance to see anything?
Any help?
Appreciate it:)
C++ beginner problem!?
Either set a breakpoint on the last line of your main() function, or add something like this to the end:
std::string x;
std::cin%26gt;%26gt;x;
That'll pause the program until you type something and press Return.
Reply:that isn't supposed to happen but you can make an infiite loop if you need to keep the prompt there.
like:
boolean foo;
do{
foo = true;
} while (foo == true);
Reply:If you are using Visual C++ (express?) 2008, it should stay up until you "Press any key to continue". Try pressing Ctrl + F5 instead. It runs AND compiles it. If that doesnt work, try adding system("pause"); after your cout%26lt;%26lt;"hello world"; statement.
Reply:Attempting to read anything from stdin should keep your dialog up.
carnation
Microsoft Visual C++ Error C2447?
Microsoft Visual C++ error c2447?
I had decided i wanted to learn C++ so i downloaded microsoft visual C++ express 2008 and tried doing a simple "Hello World!" project.I got it to run once but now it wont run i keep getting error C2447: missing function header (old-style formal list?)
this is the code
#include %26lt;iostream%26gt;
using namespace std;
int main();
{
cout %26lt;%26lt;"Hello World!\n";
return 0;
}
it is not just this project even when i tried copying the exact code used in a microsoft tutorial it gave me the same error
Hope some can help
Thanks
=]™
Microsoft Visual C++ Error C2447?
I am conversant with earlier versions of Visual C++ and am sure they would run if you removed the semicolon after the function main(). All the best!
Reply:Your code is incorrect and the program can't read it. That's why your getting the error message. I don't know much about C++ but there is a book I used once and it was very helpful called "C++ for Dummies" don't let the word dummies trick you it has lots of information and will assit you. Good Luck
I had decided i wanted to learn C++ so i downloaded microsoft visual C++ express 2008 and tried doing a simple "Hello World!" project.I got it to run once but now it wont run i keep getting error C2447: missing function header (old-style formal list?)
this is the code
#include %26lt;iostream%26gt;
using namespace std;
int main();
{
cout %26lt;%26lt;"Hello World!\n";
return 0;
}
it is not just this project even when i tried copying the exact code used in a microsoft tutorial it gave me the same error
Hope some can help
Thanks
=]™
Microsoft Visual C++ Error C2447?
I am conversant with earlier versions of Visual C++ and am sure they would run if you removed the semicolon after the function main(). All the best!
Reply:Your code is incorrect and the program can't read it. That's why your getting the error message. I don't know much about C++ but there is a book I used once and it was very helpful called "C++ for Dummies" don't let the word dummies trick you it has lots of information and will assit you. Good Luck
C++ database libraries for MySQL connection?
I am working on a windows environment, I have a MySQL database (5.0), the compiler I am using is visual C++, I want to connect to the database, query the database, populate data using C++ code, are there any libraries available for this, if not does anyone know about any sample code/tutorial that can help is writing code to establish database connectivity.
C++ database libraries for MySQL connection?
You can use the mysql ODBC drivers
http://dev.mysql.com/downloads/connector...
Then use the ODBC classes provided in Visual C++
Or, if you want pure native C++ classes, check out
http://tangentsoft.net/mysql++/
Have fun
C++ database libraries for MySQL connection?
You can use the mysql ODBC drivers
http://dev.mysql.com/downloads/connector...
Then use the ODBC classes provided in Visual C++
Or, if you want pure native C++ classes, check out
http://tangentsoft.net/mysql++/
Have fun
How to make graphical interface apps using C?
sorry about my inocence.. but how to make a graphical apps for win 32 using C language, i had read about gtk or visual C++, what's the difference? wich is better? where i can find a tutorial to make gtk work in windows.
How to make graphical interface apps using C?
you need to take a look at the GUI libraries that you mentioned, gtk and Visual C/C++. there are other GUI libs out there as well. a GTK tutorial and porting guide are linked below. for Visual C++ (express edition) a tutorial is linked as well.
How to make graphical interface apps using C?
you need to take a look at the GUI libraries that you mentioned, gtk and Visual C/C++. there are other GUI libs out there as well. a GTK tutorial and porting guide are linked below. for Visual C++ (express edition) a tutorial is linked as well.
C++/C# programmer learning Java 6 - should I buy Java 5 books?
I'm studying Java for the first time and have had classes in the past on C++ and a little personal C# programming experience. There seems to be a slew of Java 5 references (like Oreilly's nutshell) but my concern is if I should buy these v5 books or wait for the v6 books to be published?
I'm also trying to decide which introductory text to purchase:
Java 6 in 21 days
Core Java - vol 1 (8th ed)
Java Tutorial (4th ed)
C++/C# programmer learning Java 6 - should I buy Java 5 books?
I found Java in a Nutshell really easy to follow, I'd recommend it. I wouldn't go with introductory tutorials that waste your time teaching you general programming things that you probably already know.
The book may look thick and daunting but only the first few chapters are required reading, the rest is a function reference. I managed to read it in 3 days, and hold a 10 month Java contract without any previous experience!
I wouldn't go with a "learn x in y days" book, because you can't learn any language properly in a hurry - it takes years of practice (see link below).
Not much changes between Java versions, the 5th edition plus the release notes from version 6 should be all you need. Good luck!
Reply:if you ahve previous experience with c++ you are goin to find the many similarities with java which it will make it veyry easy for you. I would constantly use the java.sun reference or maybe java in a nutshell... but from my personal experience i use mostly online tutorials examples and maybe one book to reference the different main ideas of the language.
pansy
I'm also trying to decide which introductory text to purchase:
Java 6 in 21 days
Core Java - vol 1 (8th ed)
Java Tutorial (4th ed)
C++/C# programmer learning Java 6 - should I buy Java 5 books?
I found Java in a Nutshell really easy to follow, I'd recommend it. I wouldn't go with introductory tutorials that waste your time teaching you general programming things that you probably already know.
The book may look thick and daunting but only the first few chapters are required reading, the rest is a function reference. I managed to read it in 3 days, and hold a 10 month Java contract without any previous experience!
I wouldn't go with a "learn x in y days" book, because you can't learn any language properly in a hurry - it takes years of practice (see link below).
Not much changes between Java versions, the 5th edition plus the release notes from version 6 should be all you need. Good luck!
Reply:if you ahve previous experience with c++ you are goin to find the many similarities with java which it will make it veyry easy for you. I would constantly use the java.sun reference or maybe java in a nutshell... but from my personal experience i use mostly online tutorials examples and maybe one book to reference the different main ideas of the language.
pansy
C++ and Libraries(DLL's)?
http://www.learncpp.com/cpp-tutorial/a1-...
I need a tutorial such as this but much more in depth with examples on more than one. I have learned C++ syntax already.
C++ and Libraries(DLL's)?
depending on your compiler, it can be a manual process or not, if you're using Borland Builder or MSVS there should be a dll wizard otherwise you'll have to write it manually.
MSVC - http://logix4u.net/Programming/vc++/A_Tu...
Borland Builder - Look at the help files
another link http://wiki.tcl.tk/2419
All dll have similar entry points, so seeing enough code shold give you the basic idea
I need a tutorial such as this but much more in depth with examples on more than one. I have learned C++ syntax already.
C++ and Libraries(DLL's)?
depending on your compiler, it can be a manual process or not, if you're using Borland Builder or MSVS there should be a dll wizard otherwise you'll have to write it manually.
MSVC - http://logix4u.net/Programming/vc++/A_Tu...
Borland Builder - Look at the help files
another link http://wiki.tcl.tk/2419
All dll have similar entry points, so seeing enough code shold give you the basic idea
C++ combo box...?
anyone knows how to make combo box using microsoft visual c++? i need the basic codes to use. and please a site that gives tutorial about the vb...thank you very much....
C++ combo box...?
http://www.functionx.com/visualc
http://www.vbtutor.net/vbtutor.html
C++ combo box...?
http://www.functionx.com/visualc
http://www.vbtutor.net/vbtutor.html
Programming C++?
Where can I download the turbo C++ software for free
and someone knows where can I find a good tutorial for it
Thank you
Programming C++?
download it here:
http://www.turboexplorer.com/cpp
Some tutorials:
http://www.synchrondata.com/pheaven/www/...
http://www.softlookup.com/tutorial/c++/c...
http://cplus.about.com/od/learning1/Lear...
Reply:well u can easily find one by googling it. but instead of turbo why dont u use a better compiler like Visual C++ (which is best) or blood shed or borland.
see turbo compiler is not good as it is not a strict compiler and for studying the basic concepts u should always practice on a good/strict compiler.
so go for VC++ compiler tho it will show more errors and warnings but then more u get errors more u learn from them ..
..... hope u like my suggestion
for tutorials :-
http://www.cs.wustl.edu/~schmidt/C++/
or again u can google it
Reply:I believe you can get it at download.com. This site has loads of C and C++ compilers. If you don't find turbo C++, may I recommend Bloodshed Dev C++, I use it myself, and it's awesome.
and someone knows where can I find a good tutorial for it
Thank you
Programming C++?
download it here:
http://www.turboexplorer.com/cpp
Some tutorials:
http://www.synchrondata.com/pheaven/www/...
http://www.softlookup.com/tutorial/c++/c...
http://cplus.about.com/od/learning1/Lear...
Reply:well u can easily find one by googling it. but instead of turbo why dont u use a better compiler like Visual C++ (which is best) or blood shed or borland.
see turbo compiler is not good as it is not a strict compiler and for studying the basic concepts u should always practice on a good/strict compiler.
so go for VC++ compiler tho it will show more errors and warnings but then more u get errors more u learn from them ..
..... hope u like my suggestion
for tutorials :-
http://www.cs.wustl.edu/~schmidt/C++/
or again u can google it
Reply:I believe you can get it at download.com. This site has loads of C and C++ compilers. If you don't find turbo C++, may I recommend Bloodshed Dev C++, I use it myself, and it's awesome.
C&C 3 Keeps crashing!!! nothing works, please help!?
I just got C%26amp;C 3: Tiberium wars. i have a :
Windows Vista Home Premium (6.0)
Intel Core 2 Duo Processor (2.20 GHz)
88.4 Gb HD Free Space
2.038 Gb Ram
DirectX 10 (which i heard has backwards compatibility, so even though it needs DirectX9, it should work)
For some reason, in the tutorial, as soon as i build a power plant(First building), it quits and says something caused it to stop working. It "tries to find a solution for the problem" but nothing happens. Does anyone know what i can do
Two side notes:
-I bought this game in the bundle, with C%26amp;C the first decade
-I would very much prefer not to buy anything or spend any money to fix the problem.
C%26amp;C 3 Keeps crashing!!! nothing works, please help!?
Yea i have a windows XP and my cnc3 crashes all the time. Try storing your game saves in a folder and reinstalling the game. Then just add your game saves into the profile folder, that way u wont have to start the game over.
Reply:It might. Thanks for letting me know. Report It
Reply:After a very hard searches. This works for me. Thank you very much. Report It
floral centerpieces
Windows Vista Home Premium (6.0)
Intel Core 2 Duo Processor (2.20 GHz)
88.4 Gb HD Free Space
2.038 Gb Ram
DirectX 10 (which i heard has backwards compatibility, so even though it needs DirectX9, it should work)
For some reason, in the tutorial, as soon as i build a power plant(First building), it quits and says something caused it to stop working. It "tries to find a solution for the problem" but nothing happens. Does anyone know what i can do
Two side notes:
-I bought this game in the bundle, with C%26amp;C the first decade
-I would very much prefer not to buy anything or spend any money to fix the problem.
C%26amp;C 3 Keeps crashing!!! nothing works, please help!?
Yea i have a windows XP and my cnc3 crashes all the time. Try storing your game saves in a folder and reinstalling the game. Then just add your game saves into the profile folder, that way u wont have to start the game over.
Reply:It might. Thanks for letting me know. Report It
Reply:After a very hard searches. This works for me. Thank you very much. Report It
floral centerpieces
MP3 player programed in C#?
Does anybody know where I can find a tutorial that explains how to code a simple media player in C#?
MP3 player programed in C#?
http://msdn.microsoft.com/vstudio/expres...
look near the bottom where it says "how to add audio part 1 %26amp; 2"
MP3 player programed in C#?
http://msdn.microsoft.com/vstudio/expres...
look near the bottom where it says "how to add audio part 1 %26amp; 2"
Please help me with DEV-C++?
I am a beginner in C++ programming and I chose to program in Dev-C++ which was a free software I followed the instructions from a tutorial and this is the program I wrote:
#include %26lt;iostream.h%26gt;
int main() {
//print out the text string, "Hello, World!"
cout %26lt;%26lt; "Hello, World!" %26lt;%26lt; endl;
return 0;
}
but when I try to compile and run the program my output console just flashes for one instant and it is gone,
I cannot see the program
what should I do?
Please help me with DEV-C++?
The problem with console programming is you either have to run it from a console or you have to do a workaround. I don't know what version of Windoze you are using, obviously. If it's XP or earlier, open the console by going to Run on the start menu, typing "command", and changing your directory to the programs you want to run.
An easier way is to add to your programs :
system("PAUSE");
before return 0. System() calls an external program. It is actually found in stdlib.h which is called by stdio.h, which is called by iostream.h. You can #include stdlib.h (or cstdlib in more uptodate syntax) or not. Pause is an MS-Dos program which pauses operation, writes "Press any key" to the window, and waits till you do to terminate. Some people use the conio.h library for this but some people don't like to think.
Reply:You should pause your program before it exits so you can see the output.
Just insert a system("pause"); before the return.
#include %26lt;iostream.h%26gt;
int main() {
//print out the text string, "Hello, World!"
cout %26lt;%26lt; "Hello, World!" %26lt;%26lt; endl;
return 0;
}
but when I try to compile and run the program my output console just flashes for one instant and it is gone,
I cannot see the program
what should I do?
Please help me with DEV-C++?
The problem with console programming is you either have to run it from a console or you have to do a workaround. I don't know what version of Windoze you are using, obviously. If it's XP or earlier, open the console by going to Run on the start menu, typing "command", and changing your directory to the programs you want to run.
An easier way is to add to your programs :
system("PAUSE");
before return 0. System() calls an external program. It is actually found in stdlib.h which is called by stdio.h, which is called by iostream.h. You can #include stdlib.h (or cstdlib in more uptodate syntax) or not. Pause is an MS-Dos program which pauses operation, writes "Press any key" to the window, and waits till you do to terminate. Some people use the conio.h library for this but some people don't like to think.
Reply:You should pause your program before it exits so you can see the output.
Just insert a system("pause"); before the return.
C Programing Exercises?
I need more exercises for my Diploma in computer studies in C programing any net resources that are for free and maybe some tutorial too . I do not know whrer to get it So please help me
C Programing Exercises?
Your wish is the web's command:
http://www.google.com/search?hl=en%26amp;q=C+P...
http://search.yahoo.com/search?ei=UTF-8%26amp;...
Reply:The Code Project website, this has very good resources.
Planet source code - this requires free registration for unlimited access to code.
C Programing Exercises?
Your wish is the web's command:
http://www.google.com/search?hl=en%26amp;q=C+P...
http://search.yahoo.com/search?ei=UTF-8%26amp;...
Reply:The Code Project website, this has very good resources.
Planet source code - this requires free registration for unlimited access to code.
I need help with Microsoft visual C++ 2005......?
I am a newbie in programming, I am using Microsoft visual c++ express edition to learn the basics. I want to know the keywords for entering data and also the keyword for displaying result, (like the INPUT and PRINT in the old BASIC). I used cin and cout, but the program ended up having errors. It didn't accept the cin and cout keywords. I am trying to make a simple program to accept a value as input, do some mathematical operations and display the result.
This is my project
#include %26lt;iostream%26gt;
#include "stdafx.h"
#include %26lt;sstream%26gt;
#include %26lt;string%26gt;
int main()
{
int c;
cin %26gt;%26gt; c;
int total = c + 100;
cout %26lt;%26lt; total %26lt;%26lt; end1;
return 0;
)
Also a simple but detailed tutorial would be helpful. If you know any links please post it.
I need help with Microsoft visual C++ 2005......?
In between the lines:
#include %26lt;string%26gt;
int main()
Type the line:
using namespace std;
A namespace is just an organizational thing. Everything in the standard library of functions and such that come with the C++ language are defined inside a namespace called "std", which stands for "standard". Without that line you would've had to type something like:
std::cout %26lt;%26lt; total %26lt;%26lt; std::endl;
This isn't something you'll really have to worry about, just remember to include that line "using namespace std;" in your programs.
Also, the line:
cout %26lt;%26lt; total %26lt;%26lt; end1;
end1 should be endl (lowercase L)
endl stands for "end line".
Here's a tutorial I've used before:
http://www.cprogramming.com/tutorial.htm...
wedding florist
This is my project
#include %26lt;iostream%26gt;
#include "stdafx.h"
#include %26lt;sstream%26gt;
#include %26lt;string%26gt;
int main()
{
int c;
cin %26gt;%26gt; c;
int total = c + 100;
cout %26lt;%26lt; total %26lt;%26lt; end1;
return 0;
)
Also a simple but detailed tutorial would be helpful. If you know any links please post it.
I need help with Microsoft visual C++ 2005......?
In between the lines:
#include %26lt;string%26gt;
int main()
Type the line:
using namespace std;
A namespace is just an organizational thing. Everything in the standard library of functions and such that come with the C++ language are defined inside a namespace called "std", which stands for "standard". Without that line you would've had to type something like:
std::cout %26lt;%26lt; total %26lt;%26lt; std::endl;
This isn't something you'll really have to worry about, just remember to include that line "using namespace std;" in your programs.
Also, the line:
cout %26lt;%26lt; total %26lt;%26lt; end1;
end1 should be endl (lowercase L)
endl stands for "end line".
Here's a tutorial I've used before:
http://www.cprogramming.com/tutorial.htm...
wedding florist
How to write a plugin in C++.?
Hi All,
Do you know of any general/tutorial resources for writing a plugin? I'm familiar with C++ but I am not an expert. If you know of any please share them.
How to write a plugin in C++.?
Here we go...
http://www.google.co.in/search?q=+plugin...
Check out this link..
Hope my answer helps
Do you know of any general/tutorial resources for writing a plugin? I'm familiar with C++ but I am not an expert. If you know of any please share them.
How to write a plugin in C++.?
Here we go...
http://www.google.co.in/search?q=+plugin...
Check out this link..
Hope my answer helps
Creating Files In C++?
Hello, I am wondering in most they have their own file types (such as .sav for a game save and .esm for a Elder Scrolls file) Just wondering how do they create, acess and delete them using C++? Can anyone give me an explaination, point me towards a tutorial or tell me a book i could get with this in it.
- Cheers, Daniel
Creating Files In C++?
To read or write text files in C++, you usually use stream objects of the standard classes "ifstream" and "ofstream." Those classes also have open and close functions and the appropriate overloaded stream operators. There is nothing really special about the different types of file name extensions, although it helps to choose a unique one that means something in the context (like an abbreviation). To read or write binary data in C++ (for example, from data structures), there are other functions you can use called "read" and "write." They take character buffers as their arguments, but you can cast any buffer to a buffer of characters so that doesn't matter. This appears to be a good place for you to start learning about it: http://www.angelfire.com/country/aldev0/...
This is another tutorial-like reference related to the subject:
http://www.developer.com/net/cplus/artic...
Another handy reference (but not a tutorial) is http://www.cppreference.com/
There's nothing particularly special about writing to files per se. The main difference between writing to files and to the console is that you have to decide on a good format for your files if you intend to read them later on. Good luck!
Reply:These are input output operations that are available in every language.
I would rather advise you to move with C# than C++ if your developing for the windows environment.
Reply:If you've ever tried opening a data file (such as a saved game file) in notepad you've probably noticed that it just looks like a bunch of gibberish. That's because when you open a file in Notepad, it has certain assumptions that it makes about the file that aren't true.
Almost all text files are encoded with 7-bit data, since 7 bits can sufficiently hold all the letters, numbers, punctuation and control characters you need.
Data files are almost always encoded in 8-bit data. So when notepad starts reading it, it looks like gibberish.
Files in C++ are handled almost exactly like input/output from the keyboard and to the screen. Except instead of using the devices, it uses file streams.
To open a file steam, you se the fstream.open() function. The parameters that you pass that function determine whether you will be reading to it, writing to it, or both.
From there you read in data just like you would read in data from the keyboard. Except the data might be more optimized than text.
You coud fit 8 different flags into a single byte of data. A flag is just a specific bit that signifies something. For example, if the first bit of the byte is a '1' it might mean that you've beaten a certain area of the game.
- Cheers, Daniel
Creating Files In C++?
To read or write text files in C++, you usually use stream objects of the standard classes "ifstream" and "ofstream." Those classes also have open and close functions and the appropriate overloaded stream operators. There is nothing really special about the different types of file name extensions, although it helps to choose a unique one that means something in the context (like an abbreviation). To read or write binary data in C++ (for example, from data structures), there are other functions you can use called "read" and "write." They take character buffers as their arguments, but you can cast any buffer to a buffer of characters so that doesn't matter. This appears to be a good place for you to start learning about it: http://www.angelfire.com/country/aldev0/...
This is another tutorial-like reference related to the subject:
http://www.developer.com/net/cplus/artic...
Another handy reference (but not a tutorial) is http://www.cppreference.com/
There's nothing particularly special about writing to files per se. The main difference between writing to files and to the console is that you have to decide on a good format for your files if you intend to read them later on. Good luck!
Reply:These are input output operations that are available in every language.
I would rather advise you to move with C# than C++ if your developing for the windows environment.
Reply:If you've ever tried opening a data file (such as a saved game file) in notepad you've probably noticed that it just looks like a bunch of gibberish. That's because when you open a file in Notepad, it has certain assumptions that it makes about the file that aren't true.
Almost all text files are encoded with 7-bit data, since 7 bits can sufficiently hold all the letters, numbers, punctuation and control characters you need.
Data files are almost always encoded in 8-bit data. So when notepad starts reading it, it looks like gibberish.
Files in C++ are handled almost exactly like input/output from the keyboard and to the screen. Except instead of using the devices, it uses file streams.
To open a file steam, you se the fstream.open() function. The parameters that you pass that function determine whether you will be reading to it, writing to it, or both.
From there you read in data just like you would read in data from the keyboard. Except the data might be more optimized than text.
You coud fit 8 different flags into a single byte of data. A flag is just a specific bit that signifies something. For example, if the first bit of the byte is a '1' it might mean that you've beaten a certain area of the game.
HLSL Tutorials?
Good morning. I want to learn HLSL. I know it is similar to C++ which I have a good grasp on but with a new language I would really like a solid tutorial/beginners guide to show me the ropes. Anyone know of any?
HLSL Tutorials?
Here are some tutorial regarding HLSL:
http://www.pieterg.com/Tutorials/hlsl1.p...
http://www.facewound.com/tutorials/shade...
HLSL Tutorials?
Here are some tutorial regarding HLSL:
http://www.pieterg.com/Tutorials/hlsl1.p...
http://www.facewound.com/tutorials/shade...
JAVA to C++?
How can I convert the java into c++ code in the simplest way?
Any software tools or teaching tutorial site?
JAVA to C++?
http://www.javaworld.com/javaworld/javat...
http://www.cs.brown.edu/courses/cs123/ja...
local florist
Any software tools or teaching tutorial site?
JAVA to C++?
http://www.javaworld.com/javaworld/javat...
http://www.cs.brown.edu/courses/cs123/ja...
local florist
Fellow C++ programmers out there.... pls help..?
What are some few syntax that are found in Visual C++ 6 that is not found in Turbo Borland C++ 4.5? I am using the old compiler which is Turbo C++ 4.5 and I am used to it. Our company's senior programmer told me that it is cooler to use visual C++ than C++ 4.5? Where to download Visual C++ for free??? Thank you so much in advance...
For those who answered my question about connecting C++ to MySQL, I already found a good site: http://www.cpp-home.com/tutorial.php?22_... Thank you very much also for responding..
Fellow C++ programmers out there.... pls help..?
if you want to be really cool, you have to use gcc :-p
well, turbo C and visual C 6 are both old, and don't implement all facets and details of the C++ standard (which is very big and complex). Also, the standard libraries are a bit different. And therefore the code is not always 100% compatible to the standard, and therefore you have those problems.
Reply:After a lot of research, I obtained free copies of Visual C++ from Microsoft. There was a 64 bit version (that I wanted) in Microsoft Platform SDK for Windows Server 2003 SP1 with 32 bit versions in Microsoft DDK for Windows and Visual C++ Toolkit 2003. These are command line driven and I used my old Watcom software to create/edit source code. See:
http://freespace.virgin.net/roy.longbott...
It seems that things have now changed somewhat but you might still be able to get free copies.
For those who answered my question about connecting C++ to MySQL, I already found a good site: http://www.cpp-home.com/tutorial.php?22_... Thank you very much also for responding..
Fellow C++ programmers out there.... pls help..?
if you want to be really cool, you have to use gcc :-p
well, turbo C and visual C 6 are both old, and don't implement all facets and details of the C++ standard (which is very big and complex). Also, the standard libraries are a bit different. And therefore the code is not always 100% compatible to the standard, and therefore you have those problems.
Reply:After a lot of research, I obtained free copies of Visual C++ from Microsoft. There was a 64 bit version (that I wanted) in Microsoft Platform SDK for Windows Server 2003 SP1 with 32 bit versions in Microsoft DDK for Windows and Visual C++ Toolkit 2003. These are command line driven and I used my old Watcom software to create/edit source code. See:
http://freespace.virgin.net/roy.longbott...
It seems that things have now changed somewhat but you might still be able to get free copies.
What is the BEST site to learn C++ with NO prior experience in programming?
I am very new to the whole programming game. I bought a book not to long ago called "C++ Without Fear", but I am having a hard time reading what this guy writes half the time.
I have also been to "Teach Yourself C++ in 21 Days" but again, this website assumes too much knowledge in programming in my opinion.
Is there a *FREE* website that offers a tutorial to fluently (or at least close to that) learn c++?
What is the BEST site to learn C++ with NO prior experience in programming?
http://www.cplusplus.com/ and http://cprogramming.com/ are probably your two best sites to get standard tutorials. You'll also want to keep track of http://www.parashift.com/c++-faq-lite/ and c-faq.com (it's offline at the moment, but you can get mirrors at anytime by googling for C FAQ).
Other sites are usually suspect (this includes the 21 days site). Most resources on C++ are either incorrect in various ways or are obsolete. Cboard.cprogramming.com, as well as the Devshed C++ Forum and Daniweb C++ forums have some very knowledgeable professionals to help out, and you should rely on them to correct mistakes initially. Their help can make a significant difference in how easily and painlessly you learn.
With C++ however, the real way to learn it is to get books. You can get an idea of how it works through online tutorials, and you probably will want to start out with online tutorials, but if you are serious about learning it, you absolutely must get a number of recognized and important books for C++. There's a lot, and I mean a lot, of old, incorrect, or otherwise terrible C++ books. Most of them aimed at beginners. The two books I recommend, and the books/authors are recognized in the C++ world, are C++ Primer (4th edition) by Lippman and Accelerated C++ by Koenig. Other recognized books are too advanced. You may find both books to be just a bit too fast paced, and assuming too much though (they really don't, but you might find it so). Apparently You can do it! (http://www.amazon.com/You-Can-Beginners-... ) is also a good book. I haven't seen it myself, but the author is definitely a recognized expert, and you can actually get his help sometimes on comp.lang.c++ and similar usenet groups. Might be worth getting his book.
Reply:www.codeproject.com
wud be best for ya
Reply:Right off the bat I can tell you need to drop the idea that your going to be a master of programming in C++ in under a month. A programming language takes time to learn the concepts and then properly creating a program that works. One of the hardest parts of programming for beginners comes at compile time. The frustration of errors can be too much for some. I'm sure you've experienced some of that already.
As I was saying, Its going to take you just under a year to get the basics down without referencing a manual. If it is something that you do leisurely then it will take longer. The only way you get better is to do more. Even the silly assignments in the back of chapters in books can help you learn more.
Some books are better than others in some respect. Some people like myself consider some books pathetic in the lack of real world examples. I've seen countless books use "Dog" and "Cat" classes, part of programming, in them.
You should have a few books, not beginner only, to be used to learn from and use as references. A few suggestions are:
Starting Out with C++: From Control Structures through Objects
http://www.amazon.com/Starting-Out-C%2B%...
and
C++ Primer Plus (5th Edition) (Primer Plus (Sams))
http://www.amazon.com/C%2B%2B-Primer-Plu...
Now, to answer your question. There isn't going to be a superior webpage to learn C++ for free. Some will be better than others, but none of them will teach you everything there is to know and get a job in programming. You might find some online college that gives more in depth training through some sort of online "pay for tuition" type class, but it is not free.
The "Best" website that I can think of to learn from for most web languages all in one place is: W3Schools http://www.w3schools.com/ , but no C++ here.
Another site to learn the very basics is @ About.com http://www.about.com/compute/ just scroll down to the programming languages section.
As for a good IDE to help you catch errors and compile your program I suggest Eclipse found @ http://www.eclipse.org/ make sure you have Java installed on your computer to run it.
Reply:Visual C is a good way to start if you are a beginner. There are many tutorials and stuff for that and it is targeted at people with no prior experience. It would be a good foundation before starting C++.
Reply:No C/C++ are too ancient for someone to have done that, you may try the '... for Dummies' series their introductory books are kinda good, while I consider myself too experienced to make use of those books they are unrivaled as to write it in a way that, well, a dummy can understand.
Skimp the entire book in store before you buy, although C++ goes hand in hand with its predecessor C, start with that.
Reply:i would suggest you try dummies for C++ it is really helpful for people starting or who have no pior knowledge to C++ programming
Reply:if u find any best site to learn C++ or any other language programme, u may get information from there, but in my openion the best way to get more and more knowledge for C++ is the virtual teacher.
I have also been to "Teach Yourself C++ in 21 Days" but again, this website assumes too much knowledge in programming in my opinion.
Is there a *FREE* website that offers a tutorial to fluently (or at least close to that) learn c++?
What is the BEST site to learn C++ with NO prior experience in programming?
http://www.cplusplus.com/ and http://cprogramming.com/ are probably your two best sites to get standard tutorials. You'll also want to keep track of http://www.parashift.com/c++-faq-lite/ and c-faq.com (it's offline at the moment, but you can get mirrors at anytime by googling for C FAQ).
Other sites are usually suspect (this includes the 21 days site). Most resources on C++ are either incorrect in various ways or are obsolete. Cboard.cprogramming.com, as well as the Devshed C++ Forum and Daniweb C++ forums have some very knowledgeable professionals to help out, and you should rely on them to correct mistakes initially. Their help can make a significant difference in how easily and painlessly you learn.
With C++ however, the real way to learn it is to get books. You can get an idea of how it works through online tutorials, and you probably will want to start out with online tutorials, but if you are serious about learning it, you absolutely must get a number of recognized and important books for C++. There's a lot, and I mean a lot, of old, incorrect, or otherwise terrible C++ books. Most of them aimed at beginners. The two books I recommend, and the books/authors are recognized in the C++ world, are C++ Primer (4th edition) by Lippman and Accelerated C++ by Koenig. Other recognized books are too advanced. You may find both books to be just a bit too fast paced, and assuming too much though (they really don't, but you might find it so). Apparently You can do it! (http://www.amazon.com/You-Can-Beginners-... ) is also a good book. I haven't seen it myself, but the author is definitely a recognized expert, and you can actually get his help sometimes on comp.lang.c++ and similar usenet groups. Might be worth getting his book.
Reply:www.codeproject.com
wud be best for ya
Reply:Right off the bat I can tell you need to drop the idea that your going to be a master of programming in C++ in under a month. A programming language takes time to learn the concepts and then properly creating a program that works. One of the hardest parts of programming for beginners comes at compile time. The frustration of errors can be too much for some. I'm sure you've experienced some of that already.
As I was saying, Its going to take you just under a year to get the basics down without referencing a manual. If it is something that you do leisurely then it will take longer. The only way you get better is to do more. Even the silly assignments in the back of chapters in books can help you learn more.
Some books are better than others in some respect. Some people like myself consider some books pathetic in the lack of real world examples. I've seen countless books use "Dog" and "Cat" classes, part of programming, in them.
You should have a few books, not beginner only, to be used to learn from and use as references. A few suggestions are:
Starting Out with C++: From Control Structures through Objects
http://www.amazon.com/Starting-Out-C%2B%...
and
C++ Primer Plus (5th Edition) (Primer Plus (Sams))
http://www.amazon.com/C%2B%2B-Primer-Plu...
Now, to answer your question. There isn't going to be a superior webpage to learn C++ for free. Some will be better than others, but none of them will teach you everything there is to know and get a job in programming. You might find some online college that gives more in depth training through some sort of online "pay for tuition" type class, but it is not free.
The "Best" website that I can think of to learn from for most web languages all in one place is: W3Schools http://www.w3schools.com/ , but no C++ here.
Another site to learn the very basics is @ About.com http://www.about.com/compute/ just scroll down to the programming languages section.
As for a good IDE to help you catch errors and compile your program I suggest Eclipse found @ http://www.eclipse.org/ make sure you have Java installed on your computer to run it.
Reply:Visual C is a good way to start if you are a beginner. There are many tutorials and stuff for that and it is targeted at people with no prior experience. It would be a good foundation before starting C++.
Reply:No C/C++ are too ancient for someone to have done that, you may try the '... for Dummies' series their introductory books are kinda good, while I consider myself too experienced to make use of those books they are unrivaled as to write it in a way that, well, a dummy can understand.
Skimp the entire book in store before you buy, although C++ goes hand in hand with its predecessor C, start with that.
Reply:i would suggest you try dummies for C++ it is really helpful for people starting or who have no pior knowledge to C++ programming
Reply:if u find any best site to learn C++ or any other language programme, u may get information from there, but in my openion the best way to get more and more knowledge for C++ is the virtual teacher.
What is the best current C++ compiler?
I am getting into C++ programming and I would like to know what the best current C++ compiler there is. Also if you know any good tutorial sites , that would be awesome..
What is the best current C++ compiler?
g++
microsoft visual c++
Reply:The BorlandC++ compiler is good and free to download.
Check out the links below for some good tutorials.
Reply:Microsoft Visual C++ 2005
You can download it free from the main site in Microsoft.com
and this is a good link
http://msdn2.microsoft.com/en-us/express...
Find Microsoft Visual C++ It's Free
What is the best current C++ compiler?
g++
microsoft visual c++
Reply:The BorlandC++ compiler is good and free to download.
Check out the links below for some good tutorials.
Reply:Microsoft Visual C++ 2005
You can download it free from the main site in Microsoft.com
and this is a good link
http://msdn2.microsoft.com/en-us/express...
Find Microsoft Visual C++ It's Free
Friday, July 31, 2009
Visual C# Game Development...?
Where can I find a tutorial (better to be a video tutorial) that teaches how to develop games using Microsoft Visual C# 2005 Express Edition?
Visual C# Game Development...?
Videos: http://msdn.microsoft.com/directx/xna/vi...
Mainly Text:http://www.xnatutorial.com/
Best PC Game Dev site: http://www.gamedev.net/
Reply:Pheewww.
I don't think its as easy as just watching a video!
I have the official Microsoft Visual C# book to help me!
Microsoft do have videos on their site I think, I prefer reading from paper though. To be able to teach you how to do games programming in a video, I reckon the video is going to be a few hours long!
Good luck though, Ant...
floral deliveries
Visual C# Game Development...?
Videos: http://msdn.microsoft.com/directx/xna/vi...
Mainly Text:http://www.xnatutorial.com/
Best PC Game Dev site: http://www.gamedev.net/
Reply:Pheewww.
I don't think its as easy as just watching a video!
I have the official Microsoft Visual C# book to help me!
Microsoft do have videos on their site I think, I prefer reading from paper though. To be able to teach you how to do games programming in a video, I reckon the video is going to be a few hours long!
Good luck though, Ant...
floral deliveries
PIC programming in C language?
Any web giving free basic tutorial for learning basics of PIC programming using language "C"
PIC programming in C language?
Check out the vendor website for application notes... Also forums are a great source of help.
IAR systems offeres a free compiler (the workbench edition) I used their version for AVR micros and was quite pleased with it. The AVR workbench edition for AVR was limited to a 4K compile and did not have loating point math libraries. (THe full version is not limited) I do not know exactly what limits IAR would place on the workbench edition for Microchip PIC's.
Reply:Check http://myitcareer.org/
PIC programming in C language?
Check out the vendor website for application notes... Also forums are a great source of help.
IAR systems offeres a free compiler (the workbench edition) I used their version for AVR micros and was quite pleased with it. The AVR workbench edition for AVR was limited to a 4K compile and did not have loating point math libraries. (THe full version is not limited) I do not know exactly what limits IAR would place on the workbench edition for Microchip PIC's.
Reply:Check http://myitcareer.org/
Visual c++?
i have had absolutely no experience of programming. every tutorial i find is for people with programming experience. I have the microsoft visual c++ express edition but i can't find a good tutorial. If someone could provide a link to one i would be forever grateful
Visual c++?
cplusplus.com tutorial - Excellent tutorial for learning C++ from the basic level. Highly recommended
Bruce Eckels Mindview - Also an excellent site for learning C++, mostly because of the freely downloadable Thinking in C++ in 2 volumes. These are some of the best explanations of the C++ language, but definitely at a more advanced level. Books are available here
cprogramming.com tutorial - another good site for C++ programming tutorials. They are not quite as methodical as the cplusplus.com tutorials, but they are very useful.
MSDN for C++ - Microsoft's site for the Visual Studio 2005 C++ compiler that we use in this class.
C++ Links from Bjarne Stroustrup - This is a collection of links about C++ that is maintained by the originator of C++ (who now teaches at Texas A%26amp;M)
Reply:Great tuorial
http://www.cprogramming.com/tutorial.htm...
Reply:With absolutely no programming experience you may want to get a good book on basic C++ programming ( I find it easier to work from books rather than Web sites/online tutorials etc.)
Its been so long since I read any of them though ?I can't think of a good one - But recently I bought c++ for dummies which is good both for the basics and more advanced features in the language. Good reference book
Reply:Try here for info
http://www.good-tutorials.com/
http://www.digitaljuice.com/
http://www.tutorialkit.com/
http://www.codestyles.com/
http://www.sitecube.com/website/promo_bw...
Try here for info
http://www.techtutorials.net/
http://www.theeldergeek.com/
Reply:http://cprogramming.com/ is a good site.
I highly recommend getting a book. You have no idea how bad an idea it is to solely rely on the web, especially if you have 0 programming experience.
Take a look at http://accu.org/index.php/book_reviews?u...
The organization reviews books for technical accuracy. You'll notice there's a lot of bad books that get good reviews on Amazon (they are wrong technically). There's two good ones I recommend: C++ primer by Lippman and Accelerated C++ by Koenig. Accelerated C++ is pretty fast in pace and is probably more suited if you have prior experience, so perhaps C++ primer is a better choice for you.
Please do *not* go for Visual C++ specific tutorials. Unlike generic C++ tutorials, they are designed to work specifically with Visual C++ only. You won't understand and learn C++ properly, you won't learn programming properly.
Visual c++?
cplusplus.com tutorial - Excellent tutorial for learning C++ from the basic level. Highly recommended
Bruce Eckels Mindview - Also an excellent site for learning C++, mostly because of the freely downloadable Thinking in C++ in 2 volumes. These are some of the best explanations of the C++ language, but definitely at a more advanced level. Books are available here
cprogramming.com tutorial - another good site for C++ programming tutorials. They are not quite as methodical as the cplusplus.com tutorials, but they are very useful.
MSDN for C++ - Microsoft's site for the Visual Studio 2005 C++ compiler that we use in this class.
C++ Links from Bjarne Stroustrup - This is a collection of links about C++ that is maintained by the originator of C++ (who now teaches at Texas A%26amp;M)
Reply:Great tuorial
http://www.cprogramming.com/tutorial.htm...
Reply:With absolutely no programming experience you may want to get a good book on basic C++ programming ( I find it easier to work from books rather than Web sites/online tutorials etc.)
Its been so long since I read any of them though ?I can't think of a good one - But recently I bought c++ for dummies which is good both for the basics and more advanced features in the language. Good reference book
Reply:Try here for info
http://www.good-tutorials.com/
http://www.digitaljuice.com/
http://www.tutorialkit.com/
http://www.codestyles.com/
http://www.sitecube.com/website/promo_bw...
Try here for info
http://www.techtutorials.net/
http://www.theeldergeek.com/
Reply:http://cprogramming.com/ is a good site.
I highly recommend getting a book. You have no idea how bad an idea it is to solely rely on the web, especially if you have 0 programming experience.
Take a look at http://accu.org/index.php/book_reviews?u...
The organization reviews books for technical accuracy. You'll notice there's a lot of bad books that get good reviews on Amazon (they are wrong technically). There's two good ones I recommend: C++ primer by Lippman and Accelerated C++ by Koenig. Accelerated C++ is pretty fast in pace and is probably more suited if you have prior experience, so perhaps C++ primer is a better choice for you.
Please do *not* go for Visual C++ specific tutorials. Unlike generic C++ tutorials, they are designed to work specifically with Visual C++ only. You won't understand and learn C++ properly, you won't learn programming properly.
C++ books & onlinetutorial?
Iam finding difficult in learning c++ programming?
will anyone tell me the book which is easy 2 read %26amp; pls tell me the free online tutorial
if possible also suggest books easy to learn c++, available in india
C++ books %26amp; onlinetutorial?
you can download limewire from www.limewire.com and then search for c++ in the documents search box and then it will bring tons of books for c++.
Reply:you can get lots of books online..
i will suggest you even better..
register on a site called projectw.org
There you can find links to anything you want.
Search in the search column and enjoy
reading and all kinds of stuff.
Reply:I'd like to suggest: http://www.freeprogrammingresources.com/...
This websites has a lot of links to free C/C++ resources on the internet.In addition, you mak also like to see these sites:
www.allfreetutorials.com/content/view/...
www.developers.net/all_content/more/Tu...
www.codeproject.com/cpp/
www.softwaretrainingtutorials.com/c-pl...
Reply:the best place to buy programming books, or any type of tech / academic book is Textbook411.com
Reply:there are various books available for c++like "TEACH YOURSELF" by Hebet Schildt(Best book to learn c++),Programming with c++by E Balaguruswamy.
will anyone tell me the book which is easy 2 read %26amp; pls tell me the free online tutorial
if possible also suggest books easy to learn c++, available in india
C++ books %26amp; onlinetutorial?
you can download limewire from www.limewire.com and then search for c++ in the documents search box and then it will bring tons of books for c++.
Reply:you can get lots of books online..
i will suggest you even better..
register on a site called projectw.org
There you can find links to anything you want.
Search in the search column and enjoy
reading and all kinds of stuff.
Reply:I'd like to suggest: http://www.freeprogrammingresources.com/...
This websites has a lot of links to free C/C++ resources on the internet.In addition, you mak also like to see these sites:
www.allfreetutorials.com/content/view/...
www.developers.net/all_content/more/Tu...
www.codeproject.com/cpp/
www.softwaretrainingtutorials.com/c-pl...
Reply:the best place to buy programming books, or any type of tech / academic book is Textbook411.com
Reply:there are various books available for c++like "TEACH YOURSELF" by Hebet Schildt(Best book to learn c++),Programming with c++by E Balaguruswamy.
What is a popular c++ program and were can i learn about it?
ok so i wanna know what a popular affective c++ program is and i would like to know were i can get help on how to use it and it would'nt sound super complicated though i know a little about c++. i mean like a guide or something r tutorial to just get the basics and stuff or something?
What is a popular c++ program and were can i learn about it?
Open Office.org, many parts of Windows OS, KDE, Google, Yahoo! are some that use C++ heavily.
You will be able to get the KDE, openoffice.org sources over the Internet.
Look at sf.net for projects that use C++.
Reply:Here is a site full of tutorials.
http://www.cplusplus.com/doc/tutorial/
Reply:codeproject.com
codeguru.com
cplusplus.com
Reply:Try this site, it's great.
http://www.daniweb.com/tutorials/forum21...
buy flowers
What is a popular c++ program and were can i learn about it?
Open Office.org, many parts of Windows OS, KDE, Google, Yahoo! are some that use C++ heavily.
You will be able to get the KDE, openoffice.org sources over the Internet.
Look at sf.net for projects that use C++.
Reply:Here is a site full of tutorials.
http://www.cplusplus.com/doc/tutorial/
Reply:codeproject.com
codeguru.com
cplusplus.com
Reply:Try this site, it's great.
http://www.daniweb.com/tutorials/forum21...
buy flowers
I am looking for a tutorial material for windows application programming using C#?
I want it under the .NET framework %26amp; I want it as an MP file.
I am looking for a tutorial material for windows application programming using C#?
http://www.learnvisualstudio.net/
check out this website for C# tutorials
Reply:Will here is your link mate
http://msdn2.microsoft.com/en-us/default...
http://msdn.microsoft.com/vcsharp/
http://www.google.co.uk/search?hl=en%26amp;q=p...
Reply:Checkout the below mentioned resources
http://www.c-sharpcorner.com/Tutorials.a...
http://www.functionx.com/csharp/winprog/...
http://msdn.microsoft.com/library/defaul...
http://www.csharp-home.com/index/tiki-re...
There is one book i thought you'll find worthy
1. Windows Forms Programming in C# - Chris Sells
I am looking for a tutorial material for windows application programming using C#?
http://www.learnvisualstudio.net/
check out this website for C# tutorials
Reply:Will here is your link mate
http://msdn2.microsoft.com/en-us/default...
http://msdn.microsoft.com/vcsharp/
http://www.google.co.uk/search?hl=en%26amp;q=p...
Reply:Checkout the below mentioned resources
http://www.c-sharpcorner.com/Tutorials.a...
http://www.functionx.com/csharp/winprog/...
http://msdn.microsoft.com/library/defaul...
http://www.csharp-home.com/index/tiki-re...
There is one book i thought you'll find worthy
1. Windows Forms Programming in C# - Chris Sells
What is an online tutorial that will allow me to learn C++ and tell me EXACTLY what tools I need?
mail me and i will give you free ebook that will help you
subject should be "c++ book"
firozahmed143@rediffmail.com
What is an online tutorial that will allow me to learn C++ and tell me EXACTLY what tools I need?
You may not find all the info you need at one site, but i suggest you google how to c++ and go through each site gathering the info you're looking for. Good luck on you quest.
subject should be "c++ book"
firozahmed143@rediffmail.com
What is an online tutorial that will allow me to learn C++ and tell me EXACTLY what tools I need?
You may not find all the info you need at one site, but i suggest you google how to c++ and go through each site gathering the info you're looking for. Good luck on you quest.
I need C++ Help?
OK, so i wanted to write C++ on OSX. Someone told me to install Xcode, so I did. I opened it up, opened up a new C++ file, and typed a simple program from a tutorial. However, I can't compile it! The menu option for compile is grayed out (in fact all of the build tools are). Why can't I compile it?
Sorry, I have never programmed before (i have only done web design and XML; and a one-week crash course in computer class on C programming). In computer class we had a program (Borlan C or something) where we typed in our code, pressed compile, and ran the programs. That is the extent of my knowledge. Why won't Xcode let me do that, and how do I get it to let me?!?
Thanks.
I need C++ Help?
you get it from the second disk in an os x package or it's on the BIG dvd as an extra install!
if you don't mind downloading extra stuff, you can get your c compiler here
http://www.apple.com/downloads/macosx/de...
Reply:I guess you didn't install a compiler like gcc for example. Xcode doesn't come with a prebuilt compiler so you must install it afterwards.
Gcc is included with Xcode Tools so installing this should fix it.
http://developer.apple.com/tools/xcode/
Reply:"However, I can't compile it! The menu option for compile is grayed out (in fact all of the build tools are). Why can't I compile it?"
Probably because you didn't install the build tools. Xcode is just an IDE. That is, a nice environment for you type code and have it compiled for you. The actual compilation is done by the compiler.
I don't use Macs, but IIRC you should have a CD or set of CDs from Apple with developer tools on them. Install whatever is relevant to C++. It should be Gcc, gdb, the C++ libraries, etc.
"n computer class we had a program (Borlan C or something) where we typed in our code, pressed compile, and ran the programs. "
Yeah, basically they taught you nothing about C++.
Sorry, I have never programmed before (i have only done web design and XML; and a one-week crash course in computer class on C programming). In computer class we had a program (Borlan C or something) where we typed in our code, pressed compile, and ran the programs. That is the extent of my knowledge. Why won't Xcode let me do that, and how do I get it to let me?!?
Thanks.
I need C++ Help?
you get it from the second disk in an os x package or it's on the BIG dvd as an extra install!
if you don't mind downloading extra stuff, you can get your c compiler here
http://www.apple.com/downloads/macosx/de...
Reply:I guess you didn't install a compiler like gcc for example. Xcode doesn't come with a prebuilt compiler so you must install it afterwards.
Gcc is included with Xcode Tools so installing this should fix it.
http://developer.apple.com/tools/xcode/
Reply:"However, I can't compile it! The menu option for compile is grayed out (in fact all of the build tools are). Why can't I compile it?"
Probably because you didn't install the build tools. Xcode is just an IDE. That is, a nice environment for you type code and have it compiled for you. The actual compilation is done by the compiler.
I don't use Macs, but IIRC you should have a CD or set of CDs from Apple with developer tools on them. Install whatever is relevant to C++. It should be Gcc, gdb, the C++ libraries, etc.
"n computer class we had a program (Borlan C or something) where we typed in our code, pressed compile, and ran the programs. "
Yeah, basically they taught you nothing about C++.
How to draw the circle or ellipse with help of Turbo c /c++?
I'm specifically looking for the turbo c++ 3.0 ?Is there any site where tutorial is there?
How to draw the circle or ellipse with help of Turbo c /c++?
You can get the tutorial from the http://onecore.net
There are lot of turbo c++ turoials on the site.You can also download the turbo c++ form the site:
http://www.turboexplorer.com
Hope this helps.
Reply:In turbo c/c++ there is Graphics.h header file which provides functions for a wide varity of shapes , design and colors.
U can use circle(x,y,rad)(x and y are center's co-ordinate ) to draw.
Others are , ellipse, arc, rectangle,pie chart, line , Pixel, and many more.
Even there is inbuilt help programs. To get them see help of turbo c/c++.
(Just right click in tc window , u will see a list ,select graphics.h and u will see all the functions available there with details, and example
floral
How to draw the circle or ellipse with help of Turbo c /c++?
You can get the tutorial from the http://onecore.net
There are lot of turbo c++ turoials on the site.You can also download the turbo c++ form the site:
http://www.turboexplorer.com
Hope this helps.
Reply:In turbo c/c++ there is Graphics.h header file which provides functions for a wide varity of shapes , design and colors.
U can use circle(x,y,rad)(x and y are center's co-ordinate ) to draw.
Others are , ellipse, arc, rectangle,pie chart, line , Pixel, and many more.
Even there is inbuilt help programs. To get them see help of turbo c/c++.
(Just right click in tc window , u will see a list ,select graphics.h and u will see all the functions available there with details, and example
floral
Psp programming using c++ help!!!?
I want to start making psp homebrews using c++. and i made one already from a tutorial that told you howo to do it but didnt tell you the language. im completely stuck and dont know were to go and learn this language. anyone can direct me it would be great
Psp programming using c++ help!!!?
You can learn c++ from anywhere they have cheap books in bookstores and like heres some tutorials
http://www.learncplusplus.net/YaBB.pl
http://www.softlookup.com/tutorial/c++/i...
http://www.cplusplus.com/doc/tutorial/
Reply:I suggest going to the bookstore and picking up a book. They are really helpful
Psp programming using c++ help!!!?
You can learn c++ from anywhere they have cheap books in bookstores and like heres some tutorials
http://www.learncplusplus.net/YaBB.pl
http://www.softlookup.com/tutorial/c++/i...
http://www.cplusplus.com/doc/tutorial/
Reply:I suggest going to the bookstore and picking up a book. They are really helpful
What should the next step be for game programming in C++?
I've learned the basics of C++ and have made some simple games, such as Tic-Tac-Toe, but I want to learn how to program graphics in the games. I've tried to learn Directx, but all of the books I've read are way too complex like I missed a step in learning game programming. Does anybody have a suggestion or know any other books or tutorials that could help me out?
What should the next step be for game programming in C++?
I'd suggest downloading a copy of the C++ version of Visual Studio Express (it's free) and start writing some windows applications. There are plenty of books on the topic, and a huge amount of free information and demos on the web. Start learning to draw primitive (lines, shapes, images) using GDI pens, brushes etc. Learn how to eliminate flicker by drawing things to a bitmap and then drawing that bitmap on the screen in one go (google "double buffering"). Next try simple animations i.e. moving the objects around on the screen. Finally learn how to read the mouse, keyboard and joystick.
It might sound like a lot to learn, but there's plenty of info on the net to help you, and once you how to do these things you'll be able to develop a huge range of 2D games.
Once you feel ready to take the plunge into 3D I'd suggest downloading the C# version of Visual Studio Express and a copy of XNA. C# is very similar to C++ but much, much easier and faster to develop for. XNA is Microsoft's game development library, it takes care of all the usual headaches of DirectX so that you can concentrate on the game itself. Plus it has plenty of support and examples to help get you started. It'll also allow you to write games for both PC and the XBox 360.
Reply:You might want to consider some university courses. To understand graphics, especially 3D graphics, you need to understand linear algebra and matrices.
When you have a good grasp of the underlying math, the purposes of the functions and data structures will be more clear.
What should the next step be for game programming in C++?
I'd suggest downloading a copy of the C++ version of Visual Studio Express (it's free) and start writing some windows applications. There are plenty of books on the topic, and a huge amount of free information and demos on the web. Start learning to draw primitive (lines, shapes, images) using GDI pens, brushes etc. Learn how to eliminate flicker by drawing things to a bitmap and then drawing that bitmap on the screen in one go (google "double buffering"). Next try simple animations i.e. moving the objects around on the screen. Finally learn how to read the mouse, keyboard and joystick.
It might sound like a lot to learn, but there's plenty of info on the net to help you, and once you how to do these things you'll be able to develop a huge range of 2D games.
Once you feel ready to take the plunge into 3D I'd suggest downloading the C# version of Visual Studio Express and a copy of XNA. C# is very similar to C++ but much, much easier and faster to develop for. XNA is Microsoft's game development library, it takes care of all the usual headaches of DirectX so that you can concentrate on the game itself. Plus it has plenty of support and examples to help get you started. It'll also allow you to write games for both PC and the XBox 360.
Reply:You might want to consider some university courses. To understand graphics, especially 3D graphics, you need to understand linear algebra and matrices.
When you have a good grasp of the underlying math, the purposes of the functions and data structures will be more clear.
Are there any certification exams for c/c++ without any learning courses attached with it ?
i alredy have the knowledge of c and c++.
I don't want to join any tutorial type classes , rather i want to just give a certification exam.
Are there any certification exams for c/c++ without any learning courses attached with it ?
why are you asking a computer programming question in the Special Ed section?
Reply:there are exams for c and c++ from state technical board.
Other option can be NIIT prometric center.
Reply:yeah there are Microsoft Certification Programes called MCP u can get these from NIIT.... These are international certifications
Reply:Look...You can take the microsoft exam, but those are EXTREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE... Hard. You can obtain copied test papers in PDF format and try them.
For C++/C, Download DarkSDK with Visual C++ and test your skills in game developing...cause publishing a game will make you more extreme than any stupid certificate. Mention in your CV that you create your own games in c++ (just for fun), and DAMN!!! Job offers come fast.
I don't want to join any tutorial type classes , rather i want to just give a certification exam.
Are there any certification exams for c/c++ without any learning courses attached with it ?
why are you asking a computer programming question in the Special Ed section?
Reply:there are exams for c and c++ from state technical board.
Other option can be NIIT prometric center.
Reply:yeah there are Microsoft Certification Programes called MCP u can get these from NIIT.... These are international certifications
Reply:Look...You can take the microsoft exam, but those are EXTREEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE... Hard. You can obtain copied test papers in PDF format and try them.
For C++/C, Download DarkSDK with Visual C++ and test your skills in game developing...cause publishing a game will make you more extreme than any stupid certificate. Mention in your CV that you create your own games in c++ (just for fun), and DAMN!!! Job offers come fast.
C++ design questions?
I'm new to C++ and have been learning through a online tutorial, and am familiar with basic programs and variable and arrays, but i was wondering how to design the program such as adding labels, textboxes, and buttons. I see the toolbox to do this but dont know the codes or anything I have however done this before with vb i dont know if that will help.
C++ design questions?
The MFC has a GUI code generator.
Reply:If you have a toolbox, just select the button or whatever and then place it on the screen. Right click will probably give you the option to select "Properties" where you can set name and click event handler. It will generate to code for you. I can;t be more specific because you don't tell what brand of IDE you are using.
daisy
C++ design questions?
The MFC has a GUI code generator.
Reply:If you have a toolbox, just select the button or whatever and then place it on the screen. Right click will probably give you the option to select "Properties" where you can set name and click event handler. It will generate to code for you. I can;t be more specific because you don't tell what brand of IDE you are using.
daisy
Subscribe to:
Posts (Atom)