• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

C++

Lulu

n00b
Joined
May 26, 2005
Messages
3
I need to do 40 hours of native 64-bit C++ programming for school, now I'm new to programming so I have some questions to ask

Do I need a special compiler for 64-bit, is there a free compiler preferably borland that I can download

I have a 64-bit CPU but I only have xp pro will I need to pay for the upgrade and get 64-bit XP to run 64-bit applications?

Whats a good tutorial for learn native 64-bit C++ that I can produce something good to present to my teacher in about 40 hours
 
Lulu said:
Do I need a special compiler for 64-bit, is there a free compiler preferably borland that I can download
I think MSVC++ from Microsoft will do it. Last I checked, you could download just the compiler without the Visual Studio IDE for free. That might only be for .NET though.

I have a 64-bit CPU but I only have xp pro will I need to pay for the upgrade and get 64-bit XP to run 64-bit applications?
Microsoft is offering some sort of trade-in deal where you can go from 32 bit XP to 64 bit XP... Check this thread.

Whats a good tutorial for learn native 64-bit C++ that I can produce something good to present to my teacher in about 40 hours
Can't help with this part, sorry.
 
I'm a little confused. What programming do you know already? Do you want to spend 40 hours on the tutorial? Or 40 hours on the program you're writing as a project?
 
Get a 64-bit Linux and dual-boot - use the included dev tools.
 
thanks everyone, I've found some great c++ tutorials that I'm making quick progress on aswell with some help from my friend
 
his use of wording seems like he knows what he is wanting to do, but at the same time his wording makes me think he has no clue what hes trying to do?!?!? :confused:
 
How would 64-bit C++ be any different than 32-bit C++? In the end, the only thing that changes should be the virtual address space and the size of data types?!

I have always been under the impression that I could write a program in C++ and compile it for two different architectures, provided that I have a compiler for each of them (ie. win32 and Mac) and make sure to keep some small differences in mind.
 
drizzt81 said:
How would 64-bit C++ be any different than 32-bit C++? In the end, the only thing that changes should be the virtual address space and the size of data types?!

Yep. But then there are secondary changes. Does your program write files? Will the data size changes change the files? Must you read files witten by the 32-bit version? Did the data size change make it such that you had to change your memory use strategy?

And so on.

drizzt81 said:
I have always been under the impression that I could write a program in C++ and compile it for two different architectures, provided that I have a compiler for each of them (ie. win32 and Mac) and make sure to keep some small differences in mind.

Naievely, this is true. But think about it: if your program does anything interesting, it's going to interact with some non-ported part of the operating system. It might create a window, say. The way you create a window in Win32 is different than the way you create a window in MacOS. And once created, you interact with them very differently.

The code might be portable, but it might not be meaningful on the targetd system.
 
Back
Top