• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
changing private data of a class object in a vector...using functions!
 
Hello everyone. I'm a bit new here so sorry if I make a mistake somewhere. I was recently attemptin...
[1 reply] : [quote=Antman777]All I wanted to test was when the player attacks a mo... (by LB)
by zolo
hexa to ascii char conversion
 
Hi, I have read in a binary file to an array of chars (DATA). So far so good however I cannot con...
[4 replies] Last: printf("%c ", DATA ) gave some uninterpretable print out on the conso... (by zolo)
invalid conversion error
 
Hey guys. I'm having trouble when it comes to sorting my array in ascending order. When i build my c...
[3 replies] Last: The problem is that sortArray and showArray expect int arrays but you ... (by Thomas1965)
by dinex
Segmentation Fault11 caused by istream?
 
I am still new to C++. I am working on a program to read a set of list. I know a segmentation fault ...
[1 reply] : Accessing an array out of bounds causes the program behavior to become... (by helios)
illegal function?
 
There is a function that prints a value in the second constructor of class Time: Time(int alph...
[1 reply] : Is this illegal to perform functions within a constructor? No, callin... (by helios)
How to read in newline without using .get()
 
Just wondering if there is a way to get something similar to this working without using .get(): //...
[4 replies] Last: That is very interesting information, and I appreciate the insight. I'... (by TinyTertle)
by sam80
Eigen library
 
Hello everyone, I wonder why people say Eigen library support 2D arrays. I did not see any problem ...
[no replies]
Strings comparison
 
Hi, I'm working on a Win app that opens another Win app with additional arguments. The thing is tha...
[4 replies] Last: Why don't you print the args your program is receiving ? https://msdn.... (by Thomas1965)
[Builder 6] Save Label content to .txt file (1,2)
 
Hello. I want to save Label content to .txt file void __fastcall TForm1::FormClose(TObject *Sender,...
[23 replies] Last: Common practice is to declare TIniFile *IniFile; in the Form class a... (by Thomas1965)
by DICE21
Please Look At My Games I Really Want Feedback
 
I am a beginning C++ Coder and have worked on very basic projects. I have been teaching myself with...
[2 replies] Last: Okay! Thanks for the feedback! The Code is below. #include <iost... (by DICE21)
Invalid types 'int[int]' for array subscript
 
Hey guys! I'm with a little problem... This code works like this (it's in portuguese and I couldn't ...
[3 replies] Last: bem vinda (by shadder)
Binary Tree Issue with Insert Function
 
Hi Everyone I'm losing my mind trying to find out what is wrong with my Binary Tree Class. when I go...
[3 replies] Last: @closed_account: Okay, done. (by Arslan7041)
by nappa
array help (1,2)
 
Hello Ive been working on a program that inputs vendor names into an array to be displayed later on ...
[37 replies] Last: @nappa I modified my earlier solution a little bit to your desire. So... (by closed account 5a8Ym39o6)
Simplex Method Code
 
Hello, I have simplex method code in C form, could anyone help me about converting it to C++ form w...
[12 replies] Last: my assignment is writing the code and explaining shortly as a rep... (by kemort)
Menu driven program that allows user to maintain a collection of integer values through the following menu options
 
(P)rint should print the collection (A)should prompt the user for the value to add to collection (d...
[2 replies] Last: [quote=TheIdeasMan]Just a note for the future :+) There also shouldn'... (by closed account 5a8Ym39o6)
codeblocks cpp file content deleted
 
does codeblocks backups all your code files? when i open my codeblocks project after restarting m...
[4 replies] Last: So does that mean you have found where/how you can recover? (by kemort)
glewInit() not working
 
Currently I am trying to create a template project for Visual Studio but glewInit() doesn't seem to ...
[3 replies] Last: You say "but" as if the documentation linked didn't spell it out for y... (by cire)
forcing constructor to use a default parameter
 
Hi, I am trying to initialize the second constructor by forcing the constructor to use just 1 param...
[2 replies] Last: line 10: makeNestedloop needs a return type. Since you're not return... (by AbstractionAnon)
Generate Unique Ids
 
Generate Unique Ids FormStrings(unsigned int id, string bigText) { //create small strings from...
[1 reply] : When I created my pokemon game (small school project) I seriously cons... (by shadder)
Pages: 123... 24
  Archived months: [may2016]