Beginners - November 2012 (Page 61)

GDB
 
Does anyone know of a good tutorial for learning how to use GDB? Right now, my method of debugging is a mix of cout statements and crossed fingers. I imagine if...
[2 replies] Last: I love you. (by barrelroll)
by Meden
cin.width not working
 
Hi. I am following along in my book. It has a program written similar to the one I have written here. The book states that cin.width should limit the user to...
[3 replies] Last: Can't learn everything from books.. (by Jikax)
Class declaration
 
With regards to declaring and defining a class, I think it should be as follows: Class declaration goes in a header file Class definition and member functio...
[6 replies] Last: class MyClass { int x; std::string y; public: MyClass(); ... (by LB)
why would codeblocks suddenly stop reconizing include commands
 
i could load an old bit of code up it works, i copy and [aste the includes and it wont reconize them, what is going on??
[10 replies] Last: It didn't change anything. Codeblocks defaults to .c files when you cr... (by ResidentBiscuit)
by cshu
reading data from a file
 
Im having trouble outputting the text from my text file into the debugging stage in my program here is my codes so far /* Purchase Project created by C. ...
[5 replies] Last: onto my solution what do you mean by solution ? is it a file type o... (by chipp)
Help with assignment
 
So i have this assignment: A company pays its employees according to the following: 1. Managers: receive a fixed weekly salary 2. Hourly Workers: receive a fix...
[1 reply] : Work on one step at a time. Read point number one. (by pogrady)
left shift problem
 
hey folks, im trying to shift the partial product left in the array but it gives me / as result! is my code buggy?! Bigint operator *(const Bigint& n1, c...
[no replies]
by Niven
Displaying Integers with OpenGL
 
I'm having trouble using opengl to display integers (it works only if they're 1-digit). I'm using glutStrokeCharacter in a function I found online to display th...
[2 replies] Last: Thanks a lot. It works perfectly now. (by Niven)
by Gorgah
Parallell array
 
I need help with this assignment. Program 7 You are to write a program that will compute your CS1428 quiz average after you have selected a quiz to drop. The p...
[9 replies] Last: it did not fix the sentinel and i want count to be the number of quizz... (by Gorgah)
Question about constructor
 
Hi all, I have a class like this: class AClass { private: int k; public: AClass(); //default constructor AClass dosth(); // random function }; ...
[9 replies] Last: I cannot edit the main function like I mentioned. Whoops. I missed... (by Disch)
Writing Struct in File
 
I searched for it the whole day, but stil wasnt able to find any useful or clear information- some were too complex, some didnt work and thats why im here hopin...
[1 reply] : i just hope i didnt post this in wrong section... More like wrong ... (by Lowest0ne)
To remove one letter from a string
 
Hey I'm working on a function that will take a string as an input from an array. This function will go through the word letter by letter ( I suppose) and if the...
[12 replies] Last: Push and Pop are good words to learn. To push is to add and pop is to... (by Lowest0ne)
function overloading
 
i am having a hard time understanding overloading of functions in this code..i am not able to understand why isnt the compiler able to detect the same declarati...
[1 reply] : Non-static member functions have one more implicit parameter of type e... (by vlad from moscow)
setw
 
Write the program that prints following on the screen using setw manipulator. * * * * * * * * * * * * * * *
[4 replies] Last: What about using cout.fill() or setfill() in conjunction with set... (by Chervil)
references
 
can anyone plz explain me the output of the following code Also the output when static keyword is removed #include<iostream> using namespace std; int &f...
[1 reply] : Function fun returns a reference to an object with the static storage ... (by vlad from moscow)
Delete char from a char array.
 
Hello everybody, I want to ask how is it possible to delete a specific char from a char array? I loop through the array with a for, I find the character that ...
[2 replies] Last: Thank you : ) (by zanklob)
can some1 help me, i'll give the question..huhu
 
Write nested if statement that perform the following test: if the variable employed is equal to 'Y' and worklength is equal to or greater than 5, then display t...
[10 replies] Last: Ask clear questions. What do you want to achieve? What is not working ... (by Catfish2)
by skarla
SDL help
 
How i can make bigger the map in SDL? I mean how i can put obstacles in the screen that is not showed,and while player is moving ,the map going more left.etc//...
[2 replies] Last: Man you know good sdl. Could add me in skype: hepic.hepic please. ???... (by skarla)
November 2012 Pages: 1... 5960616263... 75
  Archived months: [oct2012] [dec2012]

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