Would that be an 'if any' key or an 'else any' key? :)
Type: Posts; User: Rossco
Would that be an 'if any' key or an 'else any' key? :)
I had a look at the site you suggested, code was in C++ tho' Thanx Salem. I'm still persevering, and revueing previous programs. There's a key somewhere near.
On my keyboard that symbol lives above the backslash symbol. Shift + \ (twice) gets me the 'OR'. cheers
Well! Giving this problem further consideration, I find it more prudent to focus on a C algorithm to include into the Fn rather than trying to learn a new application and language. If other languages...
I am using Dev-C++ compiler to all my work. As a beginner I haven't yet progressed to windows app. to do any work. Thus far I think this compiler with C coding will meet my needs. The more I think...
Given a 2D array which is initialised with the following numbers:
int list[3][8] = 1, 2, 3, 4, 5, 6, 7, 8;
9,...
only ar[2] has two "2" digits
ar[0] = 12342;
ar[1] = 111;
ar[2] = 1341122;
ar[3] = 12345;
Is that clearer? :)
int ar[2];
ar[0] = 2' ar[1] =2; (ar[2] = '\0')
Is this what you were trying to understand....
I posted a qsort program a few days ago, under the heading Golf Clubs, Cash. There may be something there to help you.
Rossco
Are you saying the FillArray Fn is not necessary Tab?
I spent the weekend looking further at this program and your right Mac. The array
needs to be initialised inside the Fn. I used 'const' also but the output still does not
copy 'list[]' correctly....
When I run this, 'list[]' does not come up as it is written. I did a previous version with data type double and it ran fine, (different list) so I changed double to int and the numbers and now...
I'm changing bad habits by the tips you ppl give me and am grateful for your help. Thanks dwks
.....I find it difficult to pronounce your name....lol :) I ran the program 3 times and came up with...
I found C++ for Dummies a liitle overwhelming for a beginner. Trying to figure out what 12, 23, 34, meant, when in fact it should have read 1/2, 2/3, 3/4. Proof reading was not complete in places....
I followed your directives Tab and it worked, I figured the fprintf() Fn was the key. Another problem arose tho' When I sent the mother array to a .txt file it produced a file of 117MB and when I...
Thanks tab.. I appreciate your help.. I'll try it out and let you know ...cheers
As you can see the 2D array0 will produce an output of 3 lines with 6 numbers on each line. Being a simplified version of the mother array which will output tens of millions of numbers. i need to...
No.... Save OUTPUT of the 2D array to a file!
It appears that you don't know either Mac!
Compiling a 2d array that produces an output, how can I save that
output to a file. Using "r" and "w" only transfers the the file, not . the output
redirection operators < > also transfersn the...
As you can tell I have no formal training...C++ compiler is the only one I have, and I have found
C language easier to understand for a beginner.
I'm teaching myself C programming for a personal project, and when I run
this program, the file (array1.cpp) is sent to the destination file
(LIST E.cpp) but not the output of the array. I tried...