8 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Prysm[VA]

So in my classes I've taken I was told by the teacher "case statements and if-else statements are the same things essentionally" so why learn both? and so I was not taught about cases. Besides the fact I should learn it anyway incase I need it for someone elses code, …

Member Avatar for mike_2000_17
0
322
Member Avatar for huskarit
Member Avatar for Reverend Jim
0
4K
Member Avatar for IcyFire

I have an assignment to make a craps game in c. The program i wrote runs but it always ends before it should. I think that the while loops in main have a problem but im not exactly sure wat the problem is because ive reviewed this code over and …

Member Avatar for IcyFire
0
2K
Member Avatar for faroukmuhammad

Hi guys, my keyboard has not [B]Break[/B] key, so i cant braek a test run with the conventional [B]Ctrl + Break[/B]. Is there any other way to break a test run? Thanks in advance.

Member Avatar for faroukmuhammad
0
201
Member Avatar for anu07

I am getting a "misplaced break" error from this part of the code,the following is a part of the mfile function,the while loop should break if the entered string in temp equals to the one in exit....I don't know why it shouldn't work,any help?Thanks. [CODE] ofstream myfile; myfile.open(fn,ios::ate); cout<<"File has …

Member Avatar for anu07
0
770
Member Avatar for L3gacy

Hey everyone, My problem is that in my program below I made an indefinite loop for comparing strings and values, my problem is on line 60 & 61, the loop automatically accepts whichever if statement is on line 60 when I test for an uppercase and lowercase char, as soon …

Member Avatar for L3gacy
0
229
Member Avatar for doctorphp

Hi there. I am trying to use a html form to send a PHP email but I am having some problems when I enter the message in the text area. The messages that I send have line breaks in but instead of doing a line break it shows the [B]<br …

Member Avatar for Daiva
0
141
Member Avatar for Musing888

Using the following code I am trying to check the users input string (CAcodes) and checking each one individually by assigning each element in CAcodes to a list (CAcode). A for-loop checks the conditions to make sure that the conditions for each code are met. The main for-loop tests several …

Member Avatar for TrustyTony
0
257

The End.