I really want to be one when I grow up and I know how to code tic tac toe and pong on DEV-C++ and a lott more but I want to be a professional like the guys who make PS3 games and that stuff.
How to become a professional gaming programmer?
The best route into professional game programming is a Computer Science degree from a good college, preferably near a city with a lot of game studios. Going to school near an industry hub like Los Angeles, San Francisco, Seattle, Austin, etc, will make it a lot easier to find a job once you graduate. Don't waste your time with "game programming" schools or majors, they're more expensive and won't prepare you nearly as well as a normal CS degree will. Along with your CS classes you should also take two or three writing courses, and at least one art course -- these will help you communicate with your team mates later on.
Reply:Play more games like you are mad. You'll come up with your own ideas to create a cool game.
Specialise in game development or such courses from university. Publish your games on the Internet and show your potential employers that you can develop such cool games.
Reply:Here is some real good advice:
You need to be smart! Keep advancing your math skills and go to school for CS or even choose a gaming major. However, be weary of the gaming major. You have a lot more options with a degree in CS, one of those options being a gaming professional.
Sunday, August 2, 2009
What the heII is wrong now? I can't seem to get this program to work, it keeps saying that the total is 0.00..
DEV C++
Program Name : NYS Product Tax
Can you help me please with my programming?
I asked another question similar to this one, and they helped me and I got it, but then I tried to ask for user input, to specify a spacific price amount, and now its giving me 0.00.
http://answers.yahoo.com/question/index;...
#include %26lt;cstdlib%26gt;
#include %26lt;iostream%26gt;
#include %26lt;iomanip%26gt;
using namespace std;
int main(int argc, char *argv[])
{
double Price; // Price Of Product
double tax=0.08123; // NYS Tax
double a=Price*tax; // Price Times Tax
double b=Price+a; // Price Pluss Total of Tax Times Price
cout %26lt;%26lt; "How Much Is This Product : ";
cin %26gt;%26gt; Price;
system ("pause");
system ("cls");
cout.setf(ios::fixed);
cout %26lt;%26lt; "The Total Price Of The Product, After Tax Will Be ";
cout %26lt;%26lt; setprecision(2) %26lt;%26lt; b;
cout %26lt;%26lt; endl;
cout %26lt;%26lt; endl;
system("pause");
system("cls");
}
It Keeps Saying 0.00
What the heII is wrong now? I can't seem to get this program to work, it keeps saying that the total is 0.00..
You have to ask for price before you compute tax :)
#include %26lt;cstdlib%26gt;
#include %26lt;iostream%26gt;
#include %26lt;iomanip%26gt;
using namespace std;
int main(int argc, char *argv[])
{
double Price; // Price Of Product
cout %26lt;%26lt; "How Much Is This Product : ";
cin %26gt;%26gt; Price;
double tax=0.08123; // NYS Tax
double a=Price*tax; // Price Times Tax
double b=Price+a; // Price Pluss Total of Tax Times Price
system ("pause");
system ("cls");
cout.setf(ios::fixed);
cout %26lt;%26lt; "The Total Price Of The Product, After Tax Will Be ";
cout %26lt;%26lt; setprecision(2) %26lt;%26lt; b;
cout %26lt;%26lt; endl;
cout %26lt;%26lt; endl;
system("pause");
system("cls");
}
Reply:And yet you pick as best answer the guy who blatantly stole my answer. Yes, I guess that doesn't make you a dummy. Guess what name I'm calling you instead? Report It
Reply:stole the answer from where? Any software developer would solve his problem... Report It
Program Name : NYS Product Tax
Can you help me please with my programming?
I asked another question similar to this one, and they helped me and I got it, but then I tried to ask for user input, to specify a spacific price amount, and now its giving me 0.00.
http://answers.yahoo.com/question/index;...
#include %26lt;cstdlib%26gt;
#include %26lt;iostream%26gt;
#include %26lt;iomanip%26gt;
using namespace std;
int main(int argc, char *argv[])
{
double Price; // Price Of Product
double tax=0.08123; // NYS Tax
double a=Price*tax; // Price Times Tax
double b=Price+a; // Price Pluss Total of Tax Times Price
cout %26lt;%26lt; "How Much Is This Product : ";
cin %26gt;%26gt; Price;
system ("pause");
system ("cls");
cout.setf(ios::fixed);
cout %26lt;%26lt; "The Total Price Of The Product, After Tax Will Be ";
cout %26lt;%26lt; setprecision(2) %26lt;%26lt; b;
cout %26lt;%26lt; endl;
cout %26lt;%26lt; endl;
system("pause");
system("cls");
}
It Keeps Saying 0.00
What the heII is wrong now? I can't seem to get this program to work, it keeps saying that the total is 0.00..
You have to ask for price before you compute tax :)
#include %26lt;cstdlib%26gt;
#include %26lt;iostream%26gt;
#include %26lt;iomanip%26gt;
using namespace std;
int main(int argc, char *argv[])
{
double Price; // Price Of Product
cout %26lt;%26lt; "How Much Is This Product : ";
cin %26gt;%26gt; Price;
double tax=0.08123; // NYS Tax
double a=Price*tax; // Price Times Tax
double b=Price+a; // Price Pluss Total of Tax Times Price
system ("pause");
system ("cls");
cout.setf(ios::fixed);
cout %26lt;%26lt; "The Total Price Of The Product, After Tax Will Be ";
cout %26lt;%26lt; setprecision(2) %26lt;%26lt; b;
cout %26lt;%26lt; endl;
cout %26lt;%26lt; endl;
system("pause");
system("cls");
}
Reply:And yet you pick as best answer the guy who blatantly stole my answer. Yes, I guess that doesn't make you a dummy. Guess what name I'm calling you instead? Report It
Reply:stole the answer from where? Any software developer would solve his problem... Report It
Gcc stray error in linux..?
well, i made a program in dev C, since the codes are too long, i just copy and pasted it in linux gcc,when i compiled it, there are many stray errors, but all the errors are pointing out on the lines where i typed system("clear"); function, what can i do?
Gcc stray error in linux..?
Post a snippet of the code and the accompanying error messages. From your description there is nothing wrong so closer inspection is required.
====================
Response to your update:
Pretty weird. It looks like when you pasted your code you got some weird characters. I pasted your code into my editor and every instance of the system call looks like this:
system(\u201cclear\u201d);
I would delete all the system call lines and retype them by hand. The rest of your function pasted ok.
florist shop
Gcc stray error in linux..?
Post a snippet of the code and the accompanying error messages. From your description there is nothing wrong so closer inspection is required.
====================
Response to your update:
Pretty weird. It looks like when you pasted your code you got some weird characters. I pasted your code into my editor and every instance of the system call looks like this:
system(\u201cclear\u201d);
I would delete all the system call lines and retype them by hand. The rest of your function pasted ok.
florist shop
Linker error: "undefined reference to..." I don't know how to fix :(?
I am using dev c++ and getting a linker error. I understand what it means somewhat, but I do not know how to fix it. Here is my program:
#include %26lt;stdio.h%26gt;
#include %26lt;winsock2.h%26gt;
int main(int argc, char *argv[])
{ int starts, s; sockaddr_in sockin; WSAData *wsa;
if(WSAStartup(MAKEWORD(1,1),wsa))
return 1;
starts=socket(AF_INET,SOCK_STREAM,IPPROT...
sockin.sin_family=AF_INET;
sockin.sin_addr.s_addr = INADDR_ANY;
sockin.sin_port=htons(40254);
if(!bind(starts,(sockaddr *)%26amp;sockin,sizeof(struct sockaddr_in)))
return 2;
scanf("");
WSACleanup();
return 0;
}
i get undefined reference to: 'WSAStartup@8', socket@12, htons@4, bind@12, WSACleanup@0
I do not really understand how to link a .dll. Thanks for your help.
Linker error: "undefined reference to..." I don't know how to fix :(?
Link to wsock32.lib (regular windows) or ws2_32.lib (windows NT) using the Input\Additional Dependencies field on the Linker tab/folder of the project Properties.
Reply:I'm glad I could be, at least, a little bit helpful. Happy programming! Report It
Reply:I'm not familar with the above code, though the error seems to imply you're missing a linking library.
In Dev++, create a new project, delete main.cpp file created. From that point, right click on project, select add to project (you would add your own cpp file).
Linking. Right click on project, select project options. At that point it's a matter of using the built add object or library button to locate your missing linker file. Once found, click ok.
#include %26lt;stdio.h%26gt;
#include %26lt;winsock2.h%26gt;
int main(int argc, char *argv[])
{ int starts, s; sockaddr_in sockin; WSAData *wsa;
if(WSAStartup(MAKEWORD(1,1),wsa))
return 1;
starts=socket(AF_INET,SOCK_STREAM,IPPROT...
sockin.sin_family=AF_INET;
sockin.sin_addr.s_addr = INADDR_ANY;
sockin.sin_port=htons(40254);
if(!bind(starts,(sockaddr *)%26amp;sockin,sizeof(struct sockaddr_in)))
return 2;
scanf("");
WSACleanup();
return 0;
}
i get undefined reference to: 'WSAStartup@8', socket@12, htons@4, bind@12, WSACleanup@0
I do not really understand how to link a .dll. Thanks for your help.
Linker error: "undefined reference to..." I don't know how to fix :(?
Link to wsock32.lib (regular windows) or ws2_32.lib (windows NT) using the Input\Additional Dependencies field on the Linker tab/folder of the project Properties.
Reply:I'm glad I could be, at least, a little bit helpful. Happy programming! Report It
Reply:I'm not familar with the above code, though the error seems to imply you're missing a linking library.
In Dev++, create a new project, delete main.cpp file created. From that point, right click on project, select add to project (you would add your own cpp file).
Linking. Right click on project, select project options. At that point it's a matter of using the built add object or library button to locate your missing linker file. Once found, click ok.
Friday, July 31, 2009
Socket Programming please help?
Okay Hi
I'm on XP ... I have a Dev C++ compiler
I'm trying to learn socket programming ...but it's difficult
and everything seems to be written for ppl who already are experts
You know when u go
#include %26lt;iostream%26gt;
using namespace std;
#include %26lt; math.h%26gt;
etc ...can someone just sketch me a basic
Hello World sort of program that will work ....
where I can just do
#include%26lt; something.h%26gt;
then
int main()
{
SOCKET CODE
return 0;
}
compile and run it as a .CPP file
?????
Socket Programming please help?
there are many socket tutorials in the web. try to search with google, or codeguru.com, gamedev.net etc.
basically, you have to create a socket, then connect to an IP address and a specific port, then you can send or receive data.
if you want to act as a server, you have to create a socket, bind it to a port and network interface, then "listen" for incoming connections; if a connection comes in, you "accept" it and then can exchange data with the foreign socket.
yes, it's a bit complicated and for experts.
I'm on XP ... I have a Dev C++ compiler
I'm trying to learn socket programming ...but it's difficult
and everything seems to be written for ppl who already are experts
You know when u go
#include %26lt;iostream%26gt;
using namespace std;
#include %26lt; math.h%26gt;
etc ...can someone just sketch me a basic
Hello World sort of program that will work ....
where I can just do
#include%26lt; something.h%26gt;
then
int main()
{
SOCKET CODE
return 0;
}
compile and run it as a .CPP file
?????
Socket Programming please help?
there are many socket tutorials in the web. try to search with google, or codeguru.com, gamedev.net etc.
basically, you have to create a socket, then connect to an IP address and a specific port, then you can send or receive data.
if you want to act as a server, you have to create a socket, bind it to a port and network interface, then "listen" for incoming connections; if a connection comes in, you "accept" it and then can exchange data with the foreign socket.
yes, it's a bit complicated and for experts.
Hello World! Error,I think?
When ever I do the hello world project on the dev-c++ complier
It runs and compiles but no window pops up.
I keep the first source code then make a new one.
Any idea,Iv tried many different Hello World! project codes but non work
Hello World! Error,I think?
try this
#include %26lt;iostream%26gt; // if u see a error try putting this #include %26lt;iostream.h%26gt; for older compiler
using namespace std;
int main(){
cout %26lt;%26lt;" HELLO WORLD" %26lt;%26lt; endl;
system("PAUSE");
return (1);
}
try it again i fixed 1 mistake i made earlier.
Reply:after it compiles and you save it, you have to execute the exe file if i remember correctly.
Reply:Typically a hello world would print out the text on a DOS prompt, but it would immediately close.
To be sure, you need to do the following:
#include %26lt;stdio.h%26gt;
void main(void)
{
printf("\n Hello World");
getchar();
return;
}
Basically, the API
int getchar ( void ); %26lt;cstdio%26gt;
Get character from stdin
Returns the next character from the standard input (stdin).
It is equivalent to getc with stdin as its argument.
The changes above makes your program waits for any key to be pressed by the user (YOU), and will not exit.
Try it!
sympathy flowers
It runs and compiles but no window pops up.
I keep the first source code then make a new one.
Any idea,Iv tried many different Hello World! project codes but non work
Hello World! Error,I think?
try this
#include %26lt;iostream%26gt; // if u see a error try putting this #include %26lt;iostream.h%26gt; for older compiler
using namespace std;
int main(){
cout %26lt;%26lt;" HELLO WORLD" %26lt;%26lt; endl;
system("PAUSE");
return (1);
}
try it again i fixed 1 mistake i made earlier.
Reply:after it compiles and you save it, you have to execute the exe file if i remember correctly.
Reply:Typically a hello world would print out the text on a DOS prompt, but it would immediately close.
To be sure, you need to do the following:
#include %26lt;stdio.h%26gt;
void main(void)
{
printf("\n Hello World");
getchar();
return;
}
Basically, the API
int getchar ( void ); %26lt;cstdio%26gt;
Get character from stdin
Returns the next character from the standard input (stdin).
It is equivalent to getc with stdin as its argument.
The changes above makes your program waits for any key to be pressed by the user (YOU), and will not exit.
Try it!
sympathy flowers
Subscribe to:
Posts (Atom)