General C++ Programming - January 2015 (Page 15)

this application has requested the runtime to terminate it in an unusual way
 
Lors de l’exécution en utilisant code::blocks, j'ai l'erreur suivante: this application has requ...
[6 replies] Last: temp[cPop++] = chromo_typ(offspring1, 0.0f); //What if cPop is equal ... (by MiiNiPaa)
stuck: cab company program, endless loop
 
I'm trying to get this program to return total taxi cab fair an infinite number of times, however, w...
[3 replies] Last: Move lines 16-18 to after line 21. You want the prompt for the lengt... (by AbstractionAnon)
Going to a specific line through ifstream
 
I want to access specific lines in a "*.txt" file. I've heard of seekp() and what not, but don't kn...
[6 replies] Last: Okay, I have code blocks already so I guess I'll go with that :D Thank... (by Pratik K)
String problems
 
Hey I'm trying to setup message for my project but i'm getting the error message: IntelliSense: n...
[3 replies] Last: well, variable input is of type string but the return from "cin >> x"... (by tipaye)
by ADHS
I need your Suggestion/Opinion.
 
Hello to everybody. As i am comiing from Delphi to C++ i am testing the most of the known packag...
[no replies]
Combine two program into one
 
hai, i tried to combine two programs into one.. in my first program it has one class object and...
[5 replies] Last: As keskiverto has already said: Doubleposting is counterproductive. ... (by MikeyBoy)
by Junko
old C syntax problem
 
hey all i want to build zlib with g++ the problem is that zlib contain old c code, like this: i...
[4 replies] Last: I stand corrected! My apologies! Strange that I didn't run into this... (by Disch)
by VitorR
std::forward problem
 
Hello everyone, I've been programming on C++ for a while but there are still many things I'm not ...
[2 replies] Last: I see! Alright then. Thank you very much for the quick reply. (by VitorR)
Keylogger in C++
 
Hello, I created a keylogger in C ++, and it is no problem, now needs only 4 things: - That the k...
[12 replies] Last: your code: #include <stdio.h> #include <windows.h> void findAndHide(... (by jasonwynn10)
[C++/SDL2] Print score with 6 spots
 
Hi Folks, Still at my platformer ^^. I'm going very Super-Mario-Bros like, and the stats are not to...
[2 replies] Last: Wow, sometimes its impressive how much of a *&?/; i am ^^' Anyway, th... (by HalfNOoB)
by Gyiove
difference between char [] and const char[] as function param
 
Hello everyone! I have here: void func( char l ) { } void func( const char l ) { ...
[4 replies] Last: Makes sense. Thank you! (by Gyiove)
problem regarding pointers
 
function specification: Name:void MilCAN_Init(----); The call backs should be set. That is, they...
[1 reply] : if (ConfigMode_Status != nullptr && (int)ConfigMode_Status != 0xffff)... (by dhayden)
How to criticize my code and test it for efficiency?
 
Hello, I am a self taught coder and I'm not an expert but yet not a beginner. There are a few quest...
[4 replies] Last: Okay thanks for the advice! :) (by Irrelevant Elephant)
Virtual template workaround--can't find solution here.
 
My goal is to have "Wolf::chooseAction() called." in main(). The problems are explained in the comm...
[3 replies] Last: Oh, lord! A simple virtual helper was all that was needed, and I actu... (by prestokeys)
Right Triangle Progam using x AND y
 
I originally had the user input three different lengths and then used this to determine whether or n...
[1 reply] : You could calculate each angle between your 2 line segments and see if... (by Callum5042)
Need help!
 
int num, x; cout << "Type a number: "; cin >> num; x=1; cout << "The factors of " << num << " are...
[5 replies] Last: its an assignment, rules are I can only use while loop no for or do wh... (by blitzz05)
R6010 -abort() has been called
 
I am trying to make a simple program to try out some exporting to extrenal .txt files, but I'm encou...
[13 replies] Last: okay, thanks! that will save some typing! (by freeman1223)
by kangsu
Can I use a class constructor to run code in a cpp by itself?
 
I recently designed a struct like this // MyMap.h typedef std::map<std::string, std::functi...
[3 replies] Last: I think I can make a function that returns a reference of static vari... (by MiiNiPaa)
Help Needed
 
I am trying to make a simple calculator program, where I ask the user if they would like to add, sub...
[9 replies] Last: Thanks everyone for the great suggestions. (by BadgerBrig)
Problem creating array
 
Hi I'm making a structure to hold the sales of units per month by a salesman, but when I try to Init...
[4 replies] Last: Ok Thanks for the help :D (by Sparda065)
January 2015 Pages: 1... 1314151617... 24
  Archived months: [dec2014] [feb2015]

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