Search:
Type: Posts; User: gers1978
Search:
Search took 0.04 seconds.
-
Ok thanks, and is it good practice to use uppercase names for const ints or only #defines?
-
As a newcomer to programming and C++, I wondered what the difference between:
#define SIZE 10
and
const int SIZE=10
From doing my own research, I understand the differences between the 2...
-
Thanks. I already have Xcode, I registered with Apple some time ago as I'd like to (eventually) get into iPhone app development.
Any hints on where to go from here? The exam for Intro to...
-
I've wanted to learn programming for years and am finally getting the chance after starting a BSc Computing at Uni (evening class).
One of the modules I'm just about to finish is "Introduction To...
-
Thanks a lot, I actually fixed it myself with the exact change you suggested. I made SIZE = 10, then used a<SIZE instead of <=SIZE in all cases.
As I'm new to this I'm very keen to learn WHY...
-
Ok, actually I see what you're saying, but why does my first program run perfectly? It also has SIZE set to 9, the only difference is the array is global?
-
But I'm using 9 because the assignment asks for an array of 10 numbers?
Also I removed the variable f and the line f = d; from the searchArray() function as they were serving no purpose, but...
-
Sorry, should have added I'm using Visual C++ Express 2010 on Windows XP SP3
-
I've written some code for a Uni assignment, and it worked perfectly. Basically the task was to declare a global array, then write 4 functions:
1) enter 10 values and store them in an array
2)...
|
Click Here to Expand Forum to Full Width
|