General C++ Programming (Page 2)

by Ahmadn
help in include and external libraries
I have downloaded an open source library from the web (written in linux)and I want to use it on wind...
[no replies]
Deleting key and data in RBtree
I am working on RBTree deletion part for one of my assignment using Cormen as reference book. User w...
[no replies]
by ozzone
Error Help Please!
When I run my code, I keep getting this error. How could I fix?? I would really appreciate it. E...
[3 replies] Last: It's a bit rude of Visual Studio to complain about the use of standard... (by Peter87)
Population Program Problem
I'm new at C++ user-defined functions and my assignment is to figure out growth rate and estimated p...
[3 replies] Last: Do not use global variables (variables defined outside functions). Get... (by ats15)
referring to array index?
Howdy. I have an array of pointers to char arrays or c-strings(that's my goal anyway) and I'm tryi...
[1 reply] : you need to search for "string 2" in the array. Something like int C... (by ats15)
Having Trouble with Compiling This?
I'm not sure what's wrong exactly. I keep getting different errors with different compilers and noth...
[11 replies] Last: Thank You Guys that helped a lot! I've finished it completely. The who... (by Engineering)
by Ema
Please, can anyone tell me what are the smallest floating-point numbers in c++ and java?
Please, can anyone tell me what are the smallest floating-point numbers in c++ and java?
[7 replies] Last: FWIW, has_denorm_loss is pretty pointless given that it was droped fro... (by Cubbi)
Hello I heard you can simplify code by using arrays and down below I wrote code that figures out who...
[4 replies] Last: This is classwork. Where did you get this from? School? A book? It di... (by Duoas)
Does Anyone understand Psudocode and explain it to mew please????????????
[5 replies] Last: pseudocode is an outline of how you write your code. (by mjamesball9)
what am i doing wrong
Hello I have an issue, I am writing a program where I am trying to find out who ate the most pancake...
[3 replies] Last: Thanks @BarelyOtaku It is insane how precise you have to be with the ... (by mjamesball9)
Macros on C++ style
Is it ok to define these in this way? Are these following C++ convention? If not please direct me h...
[5 replies] Last: May I ask why you are doing this? This kind of stuff belongs to legac... (by Duoas)
by Htran
Need help on two dimensional character arrays
This is all I have not sure how to put 2d char array in here. Can anyone help me on how to me on thi...
[5 replies] Last: Before I offer further advice, answer me this: where did that ReadStri... (by Duoas)
Classes and Linked Lists
I'm writing a program that creates a linear linked list from information in a txt file. I won't writ...
[3 replies] Last: You should implement a copy assignment operator instead of that cop... (by LB)
by soranz
string - replace all NON alpha numeric with " " spaces
I have a near identical function with erase which works fine - the erase one simply erases all nonal...
[3 replies] Last: That still looks quite complex. #include <string> #include <iostream... (by keskiverto)
by almica
Problem with infinite-loop
Hi there, I'm new to C++ and having some trouble with an infinite-loop i have to set up. The Progr...
[9 replies] Last: Thank you guys I will try to understand those procedures, :-) @tipaye... (by almica)
Double free or corruption faststop
type& objecttype :: operator=(object& var){ this-> //type string } getting err...
[3 replies] Last: Use your IDE's debugger to isolate which line the crash is happening o... (by LB)
error line 1:expected unqualified-id before numeric constant
I created a resource file (.rc) and a .h file. in the .h file I experienced an error on line 1: exp...
[8 replies] Last: A general addition to the comments above: You've included file a in f... (by tipaye)
Can someone tell me what's wrong with this Pointer code?
#include <iostream> #include <cstring> using namespace std; int main(){ int room; room = 12; i...
[2 replies] Last: (by LB)
by xystus
Some kind of auto update... type thing...
I wanted to create something that gets live score updates and refreshes the console each time there ...
[2 replies] Last: Would this be doable? As long as you have a reliable data source to... (by Z e r e o)
Pages: 1234... 44
  Archived months: [feb2015]

Cannot post in this page. To post a new message, go to the first page.