Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Lab3_1

Name: Anonymous 2008-07-12 1:02

Hello programming.

I need some help with a school lab that's due tomorrow.

http://rafb.net/p/VQP2jS77.html <--- lab3_1.cpp
http://rafb.net/p/kUUrMi81.html <--- lab3_1.h

Compile errors:
error C3861: 'Divide': identifier not found, even with argument-dependent lookup
error C2365: 'Divide' : redefinition; previous definition was a 'formerly unknown identifier'
error C2365: 'Mutiplication' : redefinition; previous definition was a 'formerly unknown identifier'
error C2365: 'Subtract' : redefinition; previous definition was a 'formerly unknown identifier'
error C2440: '=' : cannot convert from 'int' to 'testLevel'
error C2440: '=' : cannot convert from 'int' to 'testLevel'
error C2440: '=' : cannot convert from 'int' to 'testLevel'
error C3861: 'Mutiplication': identifier not found, even with argument-dependent lookup
error C3861: 'Subtract': identifier not found, even with argument-dependent lookup

Name: Anonymous 2008-07-12 13:04

>>5
Thanks. I didn't know you could multidefine ints like that, like in vB.

I'm trying to learn complicated languages from my limited knowledge.

I already know x86 ASM like the back of my hand, and then I had to learn vB, and now I'm learning C++. I'm taking dives into all sorts of different pools, and trying to wing it by using knowledge from previous said language.

Here's what I got so far, and now that the professor told me we didn't have to abide by the rules of the assignment, as long as it works like it should.

I'm going to convert the maxNum to your method, seeing as how it's way more efficent.

Here's the rapidshare link to what I have so far, thanks to post 3.
http://rapidshare.com/files/129176554/Lab3_1.rar.html

I looked up casting, and figured I needed to make prototypes for some of the functions, and fixed them accordingly.

All that's left, is to fix the Press Q to exit.

I was thinking of just hooking VK_Q, but seeing as how it's just a console application, I doubt I could do that.

>>7
This isn't your troll forum. OK. Thank you.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List