Okay this is for the people here that know how to program
(duh!)
Im learning C++ and I was tring to figure out how to display images onto the screen.
Is it a built in command or do I need to include a whole new library?
If anyone has any links to any C++ Resources lettme kno.
Thx for the help
-Toad-
Web address editted. Never I have I seen that so blatently posted...SEN doesn't support hacking sites!
-Kame Da Sniper
[Link Baleted. PSYCHE! -Kame]
The site that Kame edited, blows compared to www.cplusplus.com
But to answer your question, yes.
But check out www.cplusplus.com
That will teach you everything you need.
I myself am currently learning C++ too! hat compiler do you use? I use Visual C++ .NET and Dev-C++
Dev-C++ Is and IDE not a compiler it uses the g++ and gcc complier.
Best way to learn c++ is look at someone elses code.
I use the borland compiler...Is there any better compilers that you would recommend?
I tried Bloodshed Dev C++ but it doesn't work as well for me
Kellimus:
Yes I need a new library or Yes it is a built in command?
I think it's a build in library but i'm not sure.
QUOTE
hat compiler do you use?
Metroworks CodeWarrior! It does EVERYTHING!
Dev C++ is one of the best IDE I know. Make sure you use versions 4.9 or 5.0. It has refernces for Windows API as well open GL demo and of course the Stanard Templet libary.
Basic c++ program
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout<<"Hello World"<<endl;
system("PAUSE");
return 0;
}
QUOTE
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
{
cout<<"Hello World"<<endl;
system("PAUSE");
return 0;
}
ok first off, that can be made more basic.
CODE
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World\n";
system ("PAUSE");
return 0;
}
OUTPUT: Hello World
Lol. Even more basic:
CODE
#include <iostream.h>
int main()
{
cout << "Hello world!\n\n";
return 0;
}
Output: Hello world!
You don't even need the \n\n.
But then you cant pass command line args.
what exactley is the percentage of prgrammers to non prgrammers here at SEN?
Programmers: -19482%
Nonprogrammers: 4958430859q2879q60385638759685t78cxv7xdbzngkaw486yxb8yg87573e098idjoicjgn8ru59h%
QUOTE(ShadowBrood @ Aug 17 2005, 01:53 AM)
Nonprogrammers: 4958430859q2879q60385638759685t78cxv7xdbzngkaw486yxb8yg87573e098idjoicjgn8ru59h%
[right][snapback]290599[/snapback][/right]
Sorry thats not Valid Hex number or un signed int .
for hex in C++ remeber to use 0x
such as int a = 0xffff;
I would be glad to help anyone here with VB/Java/C++ Programming questions.
actually i messed up with the \n\n, you only need one \n
you don't need it for the program to work, but otherwise the outcoem would be:
"Hello World!Press Enter to ESC."
You don't even need /n
You could use endl (End Line)
ADDITION:
You don't even need /n
You could use endl (End Line)
Uhhh.... Question for everyone who replied to this:
Why was it when I asked for help I got like... zero replies?