1,265 Posted Topics

Member Avatar for Xufyan

Xufan your codes don't work because they are wrong. Narue has given you code that works. now do the following: (1) read Narues post above and fully understand the second example with the if/else statements. (2) take the first statement with teh ? : operators, and insert parentheses around them …

Member Avatar for jephthah
0
141
Member Avatar for jephthah

Name: Jephthah Height: avg Weight: working on it. Hair: yup Eyes: 20/20 Location: Gilead Age: "get off my lawn" Hobbies: smiting Ammonites Relationship Status: yes Fav Music: NPR, i guess. It always seems to be on :-\ Education: BS in Bovinoscatology Work: *sigh* If I must. Favorite Food: all the …

0
80
Member Avatar for Xufyan

if he'd bother to pay attention in the first thread he made on this, he'd understand this already.

Member Avatar for jephthah
-2
165
Member Avatar for shamly
Member Avatar for kworcester
Member Avatar for kworcester
0
277
Member Avatar for Amu_anu

where you think you are? some sort of do-my-homework-for-me service? i'd tell you to go to the Java or C++ forum, but they'd just laugh at you if you post this "gimmetehcodez" question. when you're ready to show the work done, point out where you're stuck, and ask a coherent …

Member Avatar for jephthah
-2
100
Member Avatar for artikapri
Member Avatar for jephthah

i know the general answer to using [ICODE]goto[/ICODE] is always "No!". I understand why, especially when teaching basics to new programmers, because it can lead to very bad practices and horrible spaghetti code. but ... when i write certain hardware drivers, i have to immediately cease executing a function if …

Member Avatar for nezachem
0
135
Member Avatar for shahab.burki

well, yes, it's obvious. you dont' have to mince words about it. We can plainly see that he's misspelled "encrypt" in one of the encryption functions. "encrpyt" is not a word.

Member Avatar for shahab.burki
0
271
Member Avatar for deckchairboy
Member Avatar for bumsfeld
1
371
Member Avatar for serious01

you dont make any sense. standard C will will work on Borland just fine.

Member Avatar for jephthah
0
97
Member Avatar for Excalibur69

wow, Dutch still live in SA? i thought you all jumped ship a while back.

Member Avatar for jephthah
0
67
Member Avatar for trance girl
Member Avatar for fribacka

welcome Fribacka! stop by the C or C++ forums, and ask questions or contribute answers as you feel suited.

Member Avatar for jephthah
0
144
Member Avatar for aprogramer
Member Avatar for reeds
Member Avatar for lionaneesh

const means constant. that it won't be changed anywhere within the scope where it is implemented. if a function takes, for example, a pointer to a "const char" argument, you know you can pass in a string to that argument and your string will not be modified by the function.

Member Avatar for jephthah
0
118
Member Avatar for marinkapell1
Member Avatar for lionaneesh

this is a classic error. the macro just replaces the code in the program with your #define'd value verbatim. therefore, it's calculating according to the order of operation: [iCODE]225 / 15 * 15[/iCODE], which is 225. change your #define to [code]#define SQR(x) (x * x)[/code] .

Member Avatar for aman rathi
-1
212
Member Avatar for jasneg16

there's no reason why you should be afraid of <stdlib.h>. it won't bite you. you should not use <conio.h> that library has been obsolete for 20 years. most modern compilers do not use it. as to "how to randomize", here's the simple answer: if you want a random number from …

Member Avatar for WaltP
0
145
Member Avatar for markrichardson1
Member Avatar for serious01
Member Avatar for spursfan2110

[url]http://www.acm.uiuc.edu/webmonkeys/book/c_guide/index.html[/url] [url]http://www.cplusplus.com/reference/clibrary/[/url] as you can see, atof() is part of the <stdlib.h>. in C++ this library is called <cstdlib> This is easily found with a minimum amount googling. its not that we dont want to help, but there's a sort of a minumum level of competence assumed that people can …

Member Avatar for Narue
0
122
Member Avatar for jessicacarl

so, what's your point? trying to drum up business for your fledgling website? or just to get a few more hits on your google ads?

Member Avatar for Nick Evan
0
86
Member Avatar for VernonDozier
Member Avatar for iMiral

welcome Irfan. do you know that you have a famous name for open source graphics development.

Member Avatar for jephthah
0
204
Member Avatar for formulajake88

[QUOTE=formulajake88;1175247]Narue, you are amazing.[/QUOTE] you think that's good, stick around.... she comes up with real some stunners.

Member Avatar for jephthah
0
508
Member Avatar for fyp

you'll probably get better responses if you post your C++ code in the C++ forum.

Member Avatar for jonsca
0
100
Member Avatar for MosaicFuneral
Member Avatar for jephthah
0
123
Member Avatar for Yggdrasil
Member Avatar for jephthah
0
170

The End.