General C++ Programming - December 2014 (Page 5)

by poteto
Impossible seg fault :C
 
I spent waaaay too much time on this problem, I overlooked my code at least a hundred times, and thi...
[2 replies] Last: Hmm, cpp.sh urls seem to be very temporary... (by poteto)
OOP question
 
I was wondering what is the main differences between a struct and a class? popa
[2 replies] Last: Hellouu As much as I know, in C++, the only difference between a str... (by HalfNOoB)
Vector like container which can reuse space?
 
Unoptimized problem: I work on a table (vector of vectors). vector< vector<double> > Optimiza...
[2 replies] Last: Use a ring buffer (with move assignment). Boost has an implementation.... (by JLBorges)
Exec batch from windows service
 
I have the code. void CSampleService::ServiceWorkerThread(void) { // Periodically check if t...
[no replies]
Where have I gone wrong?
 
I am simply trying to prompt a user to enter M for Male or F for Female. However, when I test run th...
[2 replies] Last: Thank you very much for the explanation and correct line! I greatly ap... (by Captaincjm)
resizing the screen
 
How would you resize the module outputting the code? In cmd/batch file it's mode con cols= "whateve...
[2 replies] Last: There is no standard C++ way to do this because as far as C++ is conce... (by LB)
Parallelizing using OpenMP
 
Hi, I am trying to parallelize a section of my code. The for loop calls an external function pvnorm...
[no replies]
How to make a program usable?
 
I am new a writing C++ programs but am learning fairly quickly. However I am having trouble with fin...
[1 reply] : Get some GUI library. QT, WxWidgets or GTK+. (by MiiNiPaa)
Question about programming and compression
 
Hello readers, i was wondering if i was to compress files music for example or any kind of file. Cou...
[4 replies] Last: Read on compression algorithms, implement one in your program (or get ... (by MiiNiPaa)
by Neek
How to build an application like this..
 
So I' new to programming, and so far I've been only with console programs..and trying to find a way ...
[1 reply] : As I said before, I don't believe QT will be able to be used in this p... (by Avilius)
by Scizor
Help with tip splitting issue?
 
Hi guys, so I've designed a program to help me close the register at the end of the night. It works ...
[1 reply] : Something like: #include <iostream> #include <numeric> #include <vecto... (by MiiNiPaa)
How to login a website and download/upload files
 
Basicly I want to make a c++ program which does the following: 1- logs in to 4shared.com with use...
[15 replies] Last: If I can connect to domain specified with the informations below using... (by SkYWAGz)
Making a little program faster
 
Hello, I started programming for the first time in my life about 2 months ago. I'm studying the C++...
[3 replies] Last: you may not see any improvement in performance at all I use Win7 and ... (by MiiNiPaa)
Not working?
 
I keep having this issue that if someone puts in an answer other than what is given, it will show a ...
[4 replies] Last: Replace the ";"s with "||" inside the parentheses of your if statement... (by Scizor)
STL map of a list, or something like that?
 
(EDIT: See my proposed solution at and) I'm working on some code that was originally written in th...
[no replies]
Help with using Curl to get text of webpage
 
I'm trying to make a program that will use Curl to retrieve just the text from a website and store i...
[2 replies] Last: Thanks for the reply. I got it to work with a few adjustments. Here's... (by bkharoud)
by WAKS
One fast question about vectors!
 
Hello! I'm making a little 2D game in C++ using the SDL framework, but it's one thing I've though...
[2 replies] Last: @Zereo Thanks :D (by WAKS)
comparing char array to char always returns true
 
Hello I've made a code to check whether or not a save file has been created correctly, but for some...
[4 replies] Last: yes, thank you all, I just figgured out the same thing, but still than... (by freeman1223)
by Neber
Segmentation fault with cout<<endl
 
For some reason when i put cout<<endl i'm getting segmentation faults in my Parser code. It's really...
[3 replies] Last: char appendString = {cur}; printf("Current char: %s\... (by MiiNiPaa)
need help with a program
 
hi guys can you help me i`ve made a program that removes "0" from "n" typed numbers now i have to do...
[1 reply] : Hi, if you want to remove duplicates from an array then probably the e... (by minomic)
December 2014 Pages: 1... 34567... 31
  Archived months: [nov2014] [jan2015]

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