Beginners - October 2013 (Page 64)

keyword for header file
 
what is keyword used for header file ? probably it is .h or not
[1 reply] : keyword? You mean file extension? for c it is .h and for c++ it is .hp... (by giblit)
Infinite Loop Help
 
This program creates an infinite loop upon starting, BUT ONLY WHEN THE PROGRAM IS STARTED AFTER AN INCORRECT INPUT IS USED. So example, I run the program and...
[4 replies] Last: Patches, there are no issues, your program runs fine. I ran it using V... (by elite zero)
Help with pointers (confused by sample)
 
So recently I have been learning in combination of this websites tutorials and a Sams C++ book I have found. Anyway onto the subject at hand. When I run the ...
[2 replies] Last: Thanks I sort of understand it now It was driving me mad at school all... (by ragecoder)
Timing Sorting Algorithms
 
I'm working on timing these 4 Sorting Algorithms: 1. Quick Sort 2. Merge Sort 3. Insertion Sort 4. Selection Sort Is the order listed above the correct o...
[no replies]
Searching for a word in a string
 
Hello, I am trying to write a program that ask the user to enter a paragraph and then a word to be searched for in the paragraph. The program must then search t...
[3 replies] Last: Keep track of where the last found occurrence was and start searching ... (by LB)
by ksbzw
access from guest class
 
Hello: I have a problem with an access from a guest class. Main class is playtable with many of variables. One of them is table of object from class player. ...
[no replies]
Merge Sort Algorithm Error
 
This code comes strictly out of my textbook which is where my professor told us to copy the algorithm from. I've run into this error: Unhandled exception at 0x0...
[1 reply] : Forgot the ++ on this temp[copied++] = (Array + size1)[copied2++] /... (by natekelsey)
by yaraa
help me plz
 
how can I save the implemntaion file with main .cpp in the same directory I wanna my output gets appear
[3 replies] Last: I mean when I write the class in a separate file .seprate the interfac... (by yaraa)
C Strings Replacing
 
Trying to replace every occurrence of the character c in the string s with the uppercase character of c. Doesn't seem to work, please help thank you. #in...
[1 reply] : "=" vs "==" take a look at what you are have done on line 8 (by Smac89)
infinate loop problem
 
I have an infinite loop. I have the program reading the input as an ascii value and i need it to keep track of upper and lower cases and also numeric characters...
[6 replies] Last: Thank guys!! (by fmedina151)
Continued Homework help
 
So i posted a question earlier to this problem. I had to write a program that randomly chooses two positive one-digit integers for a way to help students practi...
[14 replies] Last: I fixed them. Thanks!! (by jenniferbnavy)
Third Project, loops!
 
My TAs aren't helping nor is the professor. I wrote out all the code on paper first like they suggested and started inputting into the compiler. Trying to get...
[2 replies] Last: That line of code looks correct. He is saying while he has a bad value... (by giblit)
Assignment for Uni wont work?
 
Hi guys, Ive got an assignment for uni for tomorrow and im seriously lost. Im quite new to C++ but this just doesnt make any sense to me. Its a .pdf whic...
[2 replies] Last: Hi, Thanks a bunch for your help. I eventually figured it out with th... (by Cheesus)
Setting up Visual (Studio) C++
 
I'm about to delve into learning C++ as someone who is brand new to programming, starting with Bjarne Stroustrup's Programming: Principles and Practices. I've p...
[3 replies] Last: Double-clicking the error in the Output window will also take you to t... (by mutexe)
C function question
 
Can someone explain this line of code. void ( *signal( int, void (*) (int)) ) ( int );
[2 replies] Last: Break it down from the inside: void (*) (int) - This means a pointe... (by Smac89)
by Ltp
Linked list output problem
 
Can anyone tell me whats wrong here? I want 10 random values as output. #include <iostream> #include <ctime> using namespace std; class node{ public...
[5 replies] Last: it doesn't when i run it. (VS 2010 express) (by mutexe)
Terminating a program with if statement
 
How do i make it where if g=-99 ONLY -99 then it will terminate the whole program? /* File name: xxxxxxx * Author: xxxxx * Date: 9/23/2013 * Descrip...
[7 replies] Last: No he should be using if / else if and not a bunch of if's like you ha... (by giblit)
by man24
Anyone can help me about this question c++
 
I need some help to introduce more detail about this question to make code for c++ programming. I think this question will used switchcase to make the code righ...
[5 replies] Last: Yes, just make sure to share your code and any error messages you get.... (by closed account o3hC5Di1)
Making Visual Studio Show Sections of Code?
 
Hi, Is it possible to visually show the space for open and closing brackets {}? I am looking for something to make Visual Studio show and match the openin...
[3 replies] Last: This is completely overkill and will make the code look horrible, but ... (by mutexe)
Basic function question
 
I have been racking my brain, my textbook and the internet. I cannot get the program to output anything other than 0; I want to learn, so just point me in...
[2 replies] Last: Thank you so much. (by crazycole2001)
October 2013 Pages: 1... 6263646566... 86
  Archived months: [sep2013] [nov2013]

This is an archived page. To post a new message, go to the current page.