Beginners - March 2011 (Page 14)

Singly Linked List Sorting
 
this is where i sort: void sortNodes(StudentRecordDataNode * ptr) { StudentRecordData * temp = new StudentRecordData(); StudentRecordDataNode * curr; for(b...
[5 replies] Last: There is nothing wrong with your getters. The problem is that since li... (by hamsterman)
by kasedo
Finding Quotients and reminders
 
hello everyone! so i just started reading an online book about c++ and i came across this problems here is my program: #include <iostream> using namespace std...
[2 replies] Last: it appears i'm missing some library codes and i didn't had my IDE set ... (by kasedo)
by nupy
New to programming, need a little help
 
Hey everyone. I know this is simple but I'm new to programming. I've just installed c++ express 2010 and am playing around with a "hello world" type code ...
[11 replies] Last: Well, thanks for all the suggestions guys, but I tried it out on a reg... (by nupy)
Looping and strings
 
I have to write a program using loops. http://i.imgur.com/piDoY.jpg that is the assignment. He says we may use four seperate loops, each one to display the subs...
[5 replies] Last: show me what you gotso far for the 2 letter substrings or think of... (by Mathes)
sum loop or "some"thing else?
 
Pardon the pun. I have two questions about this project for an assignment. Question #1 is around line 36 and #2 is around line 97. I tried to do this myself,...
[2 replies] Last: jsmith, I plugged in && instead of ||. It worked. Thank you! K (by khouser)
A little Help
 
Hello, I am new to the forum and I am looking for a little help. I am trying to learn C++ on my own and I found this book at a used book store and one of the pr...
[2 replies] Last: Try the tutorials: http://www.cplusplus.com/doc/tutorial/ ( specifical... (by Bazzy)
Graphic (1,2)
 
Hello Firstly I dont know if this is the right part of forum to write this but I decided to do that :) I have a question if in C++ language is some simple...
[23 replies] Last: http://www.ogre3d.org/ (by Return 0)
Check if number form input valid or invalid?
 
I want to write a function to check if any inputs from user valid or invalid. The problem here is that I dont know how to check if there are more than one decim...
[1 reply] : you can read the input into a string. do two searches (find and rfind)... (by Mathes)
using adobe for c++?
 
hey, i recently got adobe on my laptop, but since i am pretty new to this stuff, could someone tell me if i can program in adobe? like, i'm not sure adobe exten...
[1 reply] : Even if it did, why would you want to? It's a JavaScript IDE. Downlo... (by Return 0)
Classes
 
class hi { int x }here; hi here here .x This is the class i got. can i give values to each struct in the array, i mean like you got here .x to ca...
[3 replies] Last: Do you want to declare an array for your class, because then you just ... (by king214)
reading number b/w 2 inputs?
 
Im trying to make a program where i want it to output the numbers between two input values. im using while statements and the condition is that the 1st number e...
[3 replies] Last: also can anyone tell me what s is? btw this is an archived thread: h... (by jasonr23)
void function question
 
anyone know which of these one would expect to see more often in a large c++ library: a) void f( T _t); b) void f( T* _t); c) void f( T const& _t) const...
[1 reply] : No, because each has its own unique purpose. (by jsmith)
by ogward
Unexpected heap crash
 
Hi there! I have a big problem, this code I wrote works like it should and I'm pretty satisfied with it. But when I try to exit the console with my menu alt...
[5 replies] Last: Seriously, try using vectors instead. You can access a vector the same... (by m4ster r0shi)
Composition in C++
 
can anyone provide some example of Composition in C++? i know it's quite similar to inheritance, but jst want a clear shot about it, i tried to search on web bu...
[1 reply] : http://www.functionx.com/cpp/Lesson27.htm http://www.learncpp.com/cpp... (by WriteGreatCode)
convert for loop to a while loop
 
I'm trying to convert this code: int i = 1; for (int i = 1; i <= 10; i = i + 3) { cout<<"i is now :" <<i<<endl; } i is now :1 i is...
[3 replies] Last: Thank you. :) (by Sebolelo)
Mayb i knw whats the meaning of (Circle *) ?
 
There is class name Shape and Circle. Shape is the base class while Circle is the subclass. Shape declare the pointer *shapePtr; I include the code so it w...
[1 reply] : It's a C-style cast. It converts shapePtr from a pointer to Shape to a... (by Bazzy)
While loop
 
QUESTION: Suppose we wanted to validate the data captured for a customer that has two bank accounts in a while loop. The variable names for the bank account...
[7 replies] Last: Thanx Buzzy. :) (by Sebolelo)
doCalculations, How to?
 
How does the doCalculation function in C++ look like, in other words, whats the basic structure? Appreciate any help
[2 replies] Last: what is the doCalculations function? (by Bazzy)
learning c++?
 
i a complete NOOB at any programming whatsoever, even though i have learnt a slight bit of java.... i know what c++ does, but can anybody tell me any essent...
[5 replies] Last: Depends on how fast you're learning, but roughly five years. Of course... (by Athar)
How to repeat Output variables?
 
I am trying to have this program prompt the user if there is another employee that will need to input his info for the same output questions. So instead of endi...
[4 replies] Last: For starters you need more data storage. To do this with minimal chang... (by closed account D80DSL3A)
March 2011 Pages: 1... 1213141516... 52
  Archived months: [feb2011] [apr2011]

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