View previous topic :: View next topic |
Author |
Message |
Amak Expert Cheater Reputation: 0
Joined: 15 Jul 2006 Posts: 110
|
Posted: Thu Apr 12, 2007 4:34 pm Post subject: [New to programming] ASM/C++ help |
|
|
Hey, Im new to programming and I have been looking through the programming section of the forum and it sounds like ASM and C++ would be somewhere to start from. If any one could give me any advice on which would be better to start with and where i could get started with this it would be greatly appreciate.
Thanks
|
|
Back to top |
|
|
appalsap Moderator Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Thu Apr 12, 2007 4:43 pm Post subject: |
|
|
you typed ASM first so you already know what your heart wants
_________________
|
|
Back to top |
|
|
UnLmtD Grandmaster Cheater Reputation: 0
Joined: 13 Mar 2007 Posts: 894 Location: Canada
|
Posted: Thu Apr 12, 2007 4:46 pm Post subject: |
|
|
You can use asm in C++ so learn both =)
_________________
|
|
Back to top |
|
|
the_undead Expert Cheater Reputation: 1
Joined: 12 Nov 2006 Posts: 235 Location: Johannesburg, South Africa
|
Posted: Thu Apr 12, 2007 4:49 pm Post subject: |
|
|
mASM <3
_________________
|
|
Back to top |
|
|
Amak Expert Cheater Reputation: 0
Joined: 15 Jul 2006 Posts: 110
|
Posted: Thu Apr 12, 2007 5:25 pm Post subject: |
|
|
What is the difference between ASM and mASM?
|
|
Back to top |
|
|
appalsap Moderator Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Thu Apr 12, 2007 5:27 pm Post subject: |
|
|
mASM is an assembler
see the masm32 project
_________________
|
|
Back to top |
|
|
Amak Expert Cheater Reputation: 0
Joined: 15 Jul 2006 Posts: 110
|
Posted: Thu Apr 12, 2007 5:47 pm Post subject: |
|
|
thanks. in this it recommends learning a compiler first so i guess ill start with C++
Edit:
hey, i have been trying to use the learn C++ in 21 days tut at http://www.hurgh.org/books/c++_in_21_days/htm/fm.php using bloodshed dev-c++ and im finding that all of the code needs tweaking.
even in the very first program you have to make things have to be changed they dont tell you about not sure if im doing somthing wrong or not so any ideas/solutions would be great. heres what they say to put in
Code: | #include <iostream.h>
int main()
{
cout << "Hello World!\n";
return 0;
}
|
|
|
Back to top |
|
|
muffinman177 Master Cheater Reputation: 0
Joined: 09 Dec 2006 Posts: 377 Location: Drury Lane
|
Posted: Tue Apr 17, 2007 3:40 pm Post subject: |
|
|
Code: |
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello World!\n";
cin.get();
return 1;
} |
That's how you do it.
It's basically the same thing as Code: |
#include <iostream>
using namespace std;
int main()
{
cout<<"Hello World!\n";
cin.get();
} |
|
|
Back to top |
|
|
|