General C++ Programming - March 2015 (Page 7)

by abc456
How to fix pointer to incomplete class type is not allowed error?
 
I'm getting a lot of this error in the following code node *ptr = new node; ptr->value = x; no...
[2 replies] Last: thanks! (by abc456)
readBytes function
 
I cant understand why this wont work. I'm thinking it cant find the file"text.txt". I keep getting t...
[1 reply] : First of all, your program has "test.txt" not "text.txt" In case that... (by tipaye)
semaphore between 2 cores
 
Hi guys, I got two different cores (different processors) which both access a certain global vari...
[9 replies] Last: Note that we discuss here 2 cores, not 2 processes on the same core. ... (by MiiNiPaa)
C++ IDE with a compiler and C++14 support?
 
I'm using Code::Blocks, but there doesn't seem to be any C++14 support in it - only up to C++11. So...
[7 replies] Last: There's no compiler flag in there that you can enable to allow C++14 ... (by MiiNiPaa)
strcpy program not working
 
#include<stdio.h> #include<string.h> char xstrcpy(char *,char *); int main () { char source ="...
[2 replies] Last: Bloody hell of course! Thanks mate (by NavpreetSingh)
What is application domain?
 
Hi, im reading B. Stroustrup's "Programming principles and practice using C++" and im trying to do a...
[4 replies] Last: Thank you very much for your help man, really appreciate it :) (by etrusks)
Code for finding prime numbers ( need help , code not working )
 
Hi all , im new to programming , i have attempted a code to find the number of prime numbers uptil a...
[7 replies] Last: Well, I allready did it once so I'll just share #include <iostream>... (by Gamer2015)
Cleaning up this code... options to make it more streamlined
 
I just finished up my forth project in my C++ class which focused on reading files, writing to them ...
[1 reply] : I'll just give some advice about main function() and return to other l... (by MiiNiPaa)
Seg fault on overloaded << operator
 
I'm getting a segmentation fault on overloaded '<<' operator, however, if I run my program with a co...
[8 replies] Last: (I dynamically allocated it, it should be good to go now). I still... (by Disch)
Need help with code
 
Hello, I would be really happy if someone could help me. I have code which finds words who has seco...
[4 replies] Last: Don't do repeat topics! http://www.cplusplus.com/forum/general/160312/ (by jasonwynn10)
Code which join words
 
Hi, I need to write code which input txt file join three words then makes an extra space and again ...
[3 replies] Last: Don't do repeat topics!!! http://www.cplusplus.com/forum/general/1602... (by jasonwynn10)
Guessing Game
 
Somehow I still haven't been able to get this code to do what I want it to do. Seems like I cant get...
[6 replies] Last: yea dude, what you can do is click the edit icon on the bottom corner ... (by jasonwynn10)
Plz Help!
 
http://www.chegg.com/homework-help/questions-and-answers/write-c-program-simulates-parking-meter-wit...
[2 replies] Last: I recommend starting with this: #include iostream using namespace s... (by jasonwynn10)
by pww71
The core of the core of the big data solutions -- Map
 
Title: The core of the core of the big data solutions -- Map Author: pengwenwei Email: ...
[no replies]
meaning of some functions ?? plzz
 
It's not a long time that i'm started to learn C++ language and i need some help .. I want to know t...
[2 replies] Last: Thnx a loooooot about thoses informations .. your anser was really hel... (by khaldoune)
calloc error: Not enough space
 
The program goes wrong when it runs for a about one day,the perror shows the message"Not enough spac...
[5 replies] Last: Thanks Very much, I will try to use the memory pool to avoid the error... (by zhaolewen)
How to make it efficient :
 
I have an object that may have N components of different types. Each type of component has its uniqu...
[5 replies] Last: What if I do it like this class Component { //abstract Co... (by Krogoth)
by Aceix
Multi-threading
 
to use multi threading in one's programme, is it necessary that the target computer's processor shou...
[3 replies] Last: Still, while your hard drive may be busy reading data (operation reque... (by S G H)
Class segmentation fault
 
Hello lads, I get a segmentation fault when I put "you" as input. Sorry for the messy code. #inclu...
[no replies]
Getting Strange Output Results Depending on std::endl;
 
Hey All, If I read a .vcf file, line by line, and output that line after each read without a std:...
[3 replies] Last: Is there anything I could try to fix it or to debug exactly what's go... (by Disch)
March 2015 Pages: 1... 56789... 28
  Archived months: [feb2015] [apr2015]

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