Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~10.2K People Reached
About Me

Student

Interests
Music, Art, Computer Games
Favorite Forums
Favorite Tags
c++ x 30
Member Avatar for tracethepath

i have made a program on text file to remove extra blank spaces in a file but it is not working correctly. when i run the program just "enter text" appears and after entering the text the screen just remains as it was. Nothing else appears. I cant find where …

Member Avatar for udayasankar
0
9K
Member Avatar for C-+

I am having a problem trying to divide a number. So in my in my program I have a number and I want it to divide it by 10. The problem is that the result is going to be decimal. I run my program I put the number it divdes …

Member Avatar for n1337
0
134
Member Avatar for ShyamalShah

Introduction Reverend Zeller developed a formula for computing the day of the week on which a given date fell or will fall. Suppose that we let a, b, c and d be integers defined as follows: a = the number of the month of the year, with March = 1, …

Member Avatar for neosomosis
0
108
Member Avatar for free2rhyme2k

Hi there I am writing a simple while loop which terminates on the condition that a certain value is found, as follows [code] std::string question = q.quest().que(); std::string answer = q.ans().answer(); std::string graphic = q.inf().info(); std::string english1; std::string english2; std::string arabic1; std::string arabic2; while((answer != english1) || (answer != english2)) …

Member Avatar for neosomosis
0
119
Member Avatar for evilseed187

I need help with beginning code to simple game of hangman in C++ Don't know where to start and it is due in six hours.

Member Avatar for Salem
0
116
Member Avatar for eranga262154

Hi, I want to count the number of characters of a string. Try to do it as follows. [CODE=cplusplus] int iSpace = 0; int iLength; string strTemp("This is a line of text"); iLength = strTemp.length(); cout << iLength << endl; for(int i = 0; i < iLength; i++) { if((strTemp.at(i) …

Member Avatar for eranga262154
0
154
Member Avatar for balla4eva33

So I've got "m_starts" as a pointer to an int (int * m_starts;). And a const char * of "m_str". m_str = "bad,cold,new". How can I allocate "m_starts" to store the starting index of each word in m_str??? For loop?

Member Avatar for Ancient Dragon
0
106
Member Avatar for nugget93

I quickly made this program in DEV C++ and have a few errors, heres a little background info on the program, there is a program at my school that allows the teachers to spy and take over your computer whenever so I did a little snooping and found that the …

Member Avatar for Ancient Dragon
0
91
Member Avatar for np2100

I am trying my first encryption program and I want to convert the letters to numbers then do an equation to change the numbers. Then when the encryption is done it should be a bunch of random numbers then the decryption should come back to normal (what the user input …

Member Avatar for np2100
0
124
Member Avatar for eesti44

Hello, I was trying to work a problem from the book and decided to compile and run sample code that is already supposed to work. The problem is it doesn't. The concept of breaking these files up is new to me. Can someone please let me know what to do? …

Member Avatar for eesti44
0
151
Member Avatar for Butterflieq

Hey guys gotta quick question for ya. I'm trying to figure out the best way to write an array for the following: (1) Hot dog 1.50 (2) Fries 1.00 (3) Lemonade .75 (4) End order You should be allowed to keep ordering from the menu until you press 4 for …

Member Avatar for neosomosis
0
146
Member Avatar for ahmedusa2005

Dear Members I have started the following program, and I do not know how to solve the issue to store names in an array and retrieve them again, and how tos tore the names in a file in the Hard drive. If somebody could help me with my issue. Thanks …

Member Avatar for neosomosis
0
93
Member Avatar for neosomosis

Aloha... I'm |acid| from Malaysia. I'm still new to programming....have no working experience but I know a lil' thing or two. I was lurking around DaniW since last few months but only registered today ;) Hope u guys could spare me some ideas.... P/S: I'm not good with introductions....

Member Avatar for neosomosis
0
121
Member Avatar for nicz888

[code=c++] // Stopping input with an empty string #include <iostream> using namespace std; #include <cstring> int main() { int i = 1; char temp[80]; char string[80]; // room for 255 strings cout << "\n\nEnter some strings - (blank to exit)" << " \nfirst string: "; cin.getline(temp, 80); while (temp[0] != …

Member Avatar for neosomosis
0
122