Beginners (Page 6)

by stj
Linked list and function
Hi all i can't understand the output of this code node* test(node* &X) { node *t=X; t=t...
[1 reply] : Does this help? node* test( node* & X ) { node* t = X; t = t->nex... (by keskiverto)
problem in quiz game
Hi, i have written a quiz game on c++, the problem is that when i apply while loop to all the questi...
[1 reply] : 1. Nearly every big forum has a "READ BEFORE YOU POST!!!" for a reason... (by R23MJ)
what if delete before new?
is it OK to delete a char* before new was called for it? example: void read(char*& text) { dele...
[3 replies] Last: void read(char*& text) { delete text; // deleting arrays needs d... (by andywestken)
Trouble with .h file
Everything seems to be fine when I write out all the codes, but then when I try to compile, lots of ...
[1 reply] : The C++ string class is in the std namespace, so you need to use ... (by MikeyBoy)
by jow123
{ Int i = 10; i=i+5; Cout《i++; }
[3 replies] Last: line 12. (by mutexe)
Vector Program - Help needed!!
I'm in a Programming class in high school and we're learning C++. I have a graded lab that is due an...
[2 replies] Last: How stupid is that to hold 3 fields in a single string, i.e. Firt... (by ajh32)
display sum of odd number between 1 and 10 using a FOR loop
display sum of odd number between 1 and 10 using a FOR loop #include <iostream> using name...
[2 replies] Last: hi , i taking programming so our lecturer told us to add using namesp... (by kennyluah)
by jhkim3
Core Dump Problem
Hello! I am trying to output the highest score of a particular player. It runs well until it hits th...
[3 replies] Last: Many people don't use using namespace basically because many functions... (by shadowmouse)
by arvust
Comparing string with wildcard characters
Hi, Working on some code that compares strings, currently trying to implement a function that wil...
[3 replies] Last: Cool! I assume you mean this on line 11 i < pattern.size() (rathe... (by andywestken)
Placement new
I'm wondering where does placement new's storage gets allocated. Is it the stack or the heap? cha...
[6 replies] Last: Thanks! It's clearer now. (by Bendistocratic)
problem about delete linked list
I have a problem with delete a linked list and i'm really thankful if you can help me. In destruct...
[4 replies] Last: oh. i've get it. thanks dude. (by kimlanghy12)
Serious problem about pointer!
#include <iostream> #include <cstdlib> using namespace std; struct node { int info; no...
[13 replies] Last: Thanks a lot! I appreciate your help. (by PSYCHAMERON)
by koopey
vector sort with templates problem
can't seem to understand the error message or find the error. the error message i get is: D:\c...
[6 replies] Last: i got what you said in last post but, one part i ain't clear about wha... (by koopey)
Out of Range Vector Matrix
I'm trying to create a bool function that returns true only when the number of rows in the matrix ==...
[6 replies] Last: Thank you very much. I had tunnel vision and I really thought that th... (by Extreme112)
Simplier way to do this?
Could I do this in a easier way. Is the way im doing it stupid. I've been doing this since I begun p...
[1 reply] : The biggest problem with your code are your functions. You should not ... (by BlatantlyX)
Help with coding
The idea of this program is to allow a small company to enter an employee's ID number, hours worked ...
[7 replies] Last: The first problem I'm noticing is that the max numbers I can enter is ... (by imdjluis)
Tabular Format
Can someone help me to understand what I have done wrong? I am getting input from the user on Last ...
[1 reply] : This is not an easy task, to get it perfect you need to count the long... (by BlatantlyX)
Not declared in scope error messages
Thank you in advance for any assistance. I am working on a final project and I'm writing a program w...
[7 replies] Last: Glad I could help :) Happy Memorial Day ! (by newbiee999)
by Bwoods
Printing out Array Of Class[StillNEEDANSwER]
Why isn't my array of class cout<<ary .getname()<<endl; printing out correctly in c++? What I woul...
[3 replies] Last: You are missing a lot of pre-processor directives. Remember to do #in... (by icemewtwo64)
Using struct to get files quesiton.
So I am writing a code to process a .dat file that contains numbers for a bank account number and th...
[3 replies] Last: It reads all values from the file fine -- I showed you the o/p when I ... (by andywestken)
Pages: 1... 45678... 90
  Archived months: [mar2015]

Cannot post in this page. To post a new message, go to the first page.