I agree with Wraithan...do what you enjoy. I'm currently an intern doing coding and I'm making enough to get by on. All of my friends that already graduated started off making more than enough to...
Type: Posts; User: HaLCy0n
I agree with Wraithan...do what you enjoy. I'm currently an intern doing coding and I'm making enough to get by on. All of my friends that already graduated started off making more than enough to...
On line 39:
InRoot = (b*b)-(4*A*C); // Gives ' and (each
There is no such variable "b". You probably wanted to use B.
For the error you get on the line with sqrt(), there are 3...
gcc will work with either or, but if you are going to use C++ programs, you need to specify the language like above, and also to link against -lstdc++. By calling it as g++, it does all of this for...
I personally use valgrind and gprof. I used electric fence in the past, but I don't think its being maintained any longer, and I believe it doesn't work if NPTL is enabled.
If you don't put brackets after your if/else statements, it will only execute what is on the next line. Try either adding the brackets, or remove the blank line inbetween. Also, your tests won't...
Here's a link to the final draft of the C++ standard, which is referred to as C98 I believe. C99 is for C, as was C89.
http://www.kuzbass.ru:8086/docs/isocpp/
In your situation, its unnecessary. That's why its a warning and not an error. The compiler doesn't exactly know what is going to happen, but it is possible for your function to not return...
There are no else's in those functions, so if something doesn't match any of the if statements, it falls off the end of the function without returning anything.
/usr/include is a good place to start looking.
Here's one Asus board with builtin video:
http://www.asus.com/products/mb/socketa/a7n8x-vm/overview.htm
And here is a link to the Nvidia site about the nForce2, and the different variations (with...
Hey, I said some, sorry I forgot to add them :P I missed Disturbed as well :)
I listen to pretty much anything, but here's some of my favorites:
DJ Tiesto
HIM
Kittie
Korn
30 Seconds to Mars
Rammstein
AFI
Chevelle
You can also get the nForce2 with everything but the onboard video, though I believe that it is alittle more expensive to get it without. That is how it is with the board I am getting. Since I have...
Concerning the BMP thing, I don't know sorry. About the book, there is a thread about this about half way down the page: http://cboard.cprogramming.com/showthread.php?s=&threadid=40717
Personally,...
Yes, it should write everything to the file, if you want to display it on the screen as well, you'll have to cout it so it'll appear on the console. Also, its not a good practice to get into to...
I'm rebuilding my computer in a couple weeks. I'm getting the Asus A7N8X, which has the nForce2 chipset. Looks like an amazing board, can't wait to get it :)
Remove the semicolons from after the }'s in your code. They are not needed in these situations. Also, it looks like you have one extra } in your last function.
int main() //should be int
{
ifstream data("test.txt"); //should be ifstream
for(int y=0;y<12;y++)//should be the size
{
for(int x=0;x<16;x++)//same here
A few errors.
The include guards are there to ensure that nothing gets declared twice, incase your include file is included by other files as well.
I'm guessing you didn't #include <iostream>. I believe that is where it is declared.
In XP, and probably 2k as well: \Documents And Settings\Your User Name\Favorites. All of the favorites are stored as shortcuts in there.
Your syntax for the for loops is incorrect. It should be:
for(int y=0;y<size;++y)
{
rest of your code
}
You put commas instead of semicolons, and you also go one farther than you...
You can do either of those, but only the line following the if/else/while/for/etc., will be executed. The brackets are there to enclose exactly what you want to be executed given a certain condition.
The GeForce 2 is definately better than your TNT2, but like others said, you might want to drop down the CPU alittle and buy a better video card to go in there.
(Shouldn't this have been on the...
It probably has something to do with how VS handles projects. Try just creating an empty C++ project, and doing it that way. That should work, and you shouldn't need tchar.h. I don't even know...