Beginners - May 2015 (Page 7)

What is the best library for databases
 
Hi, i'm now member here. And i have some questions. 1. What is the best library for databases? i tr...
[1 reply] : You really should just ask one question per thread! 1. What is the b... (by andywestken)
Examples of Good Uses of goto Statement
 
From what I've read on this issue, I understand that the goto statement is discouraged for a few rea...
[16 replies] Last: I think this sums up the use of goto quite nicely: http://www.xkcd.co... (by IWishIKnew)
HPEN object declaration
 
Hey, I had a problem that I fixed, but probably not properly. My problem was, that after a few sec...
[2 replies] Last: Thank you very much for clearing all the questionmarks out of my head!... (by Powerpuncher)
Confusion
 
Can someone explain how this works? step by step and the flow control of the for loops, I've not lea...
[3 replies] Last: Face palm (by Haloween123)
converting
 
Im getting avgRunsPerSize won't convert it to bool error error: could not convert ‘avgRunsPerSi...
[2 replies] Last: Or, if you're trying to use the ranged for loop: for (int runs: ... (by cire)
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
FIND THE OUTPUT
 
{ 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)
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)
May 2015 Pages: 1... 56789... 40
  Archived months: [apr2015] [jun2015]

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