Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
70% Quality Score
Upvotes Received
5
Posts with Upvotes
3
Upvoting Members
5
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
~4K People Reached
Favorite Forums
Favorite Tags

8 Posted Topics

Member Avatar for IwalkAlone

Just swap every variable below the strlen() functions. l1 <=> l2 str1 <=> str2 Also: You should declare main as returning an int, not void. And you should NOT use gets(), use fgets() instead. Do some reading on why, it's quite interesting and important to know.

Member Avatar for ahmedhamdy
0
2K
Member Avatar for enkidu75

You're not initializing total. It's going to be garbage unless you set it to the identity for addition before you start adding to it. Also I'm not sure your logic is sound at lines 18 and 19. Wouldn't something like this make more sense? [CODE] if (distance < 15) total …

Member Avatar for peter_budo
0
123
Member Avatar for blee93

Not sure what the problem is here, seems to run fine for me.. [CODE] vance@Vance-ubuntu:~/programming/stuf$ ./a.out Enter words (q to quit): This is a test of your first-letter type counting program q 3 words beginning with vowels 8 words beginning with consontants 0 others [/CODE] You are counting the control …

Member Avatar for Red Goose
0
241
Member Avatar for holocron

Greetings all DaniWeb people, long time no see. I have a (hopefully) easy question. Let's jump into the code. My test harness: [CODE] cout << "--------------------------------------------------------" << endl; cout << "Begin Copy Constructor Testing" << endl; cout << "--------------------------------------------------------" << endl << endl; dlSL = new DLSortedList(); for (int i …

Member Avatar for holocron
0
261
Member Avatar for lamoracke

[QUOTE=lamoracke;1130057]i have ask my teacher if i should use this way he said because i have not look at this part of see i would fail due i can shw learning out comes but thank guys i seen a jsp gram that had like if state and things liek that …

Member Avatar for holocron
0
105
Member Avatar for holocron

Hello all, Here I intend to reverse a line of text ending in a newline, but only the individual words will be reversed, not every character. For example, "This is just a test." would output ".test a just is This". The code as stands prints a space for every character …

Member Avatar for WaltP
1
709
Member Avatar for flipjoebanana

What compiler and options are you using? I know that gcc will output assembly code if you use the -S switch. Perhaps you just need to remove that from your compile step?

Member Avatar for gerard4143
0
143
Member Avatar for needhelpe

[QUOTE=needhelpe;1126255]i already did a program that encrypts letters by skipping 1 or 2. but now i need to make a program that encrypts a word, using substitution. I already try several things but i can't get it work. can anybody help me? for example the normal key is a,b,c,d,e and …

Member Avatar for holocron
-2
113

The End.