General C++ Programming (Page 38)

While Loop
 
Hello everyone, this is my first post here and I am new to cpp. I have tried to make a program for C...
[2 replies] Last: @coder777 Thank you it worked for me. I have now changed the PURCHASE... (by Vaishali)
putting data into an array using a for loop from input file
 
Hi there, I'm trying to pass several integers into the array idAr from an input file using a for lo...
[4 replies] Last: oh I think I get how your code works, ill need to test it and thanks g... (by pandahamalia)
by chhe
indeterminate vector
 
Lets say you want to make a vector of indeterminate size and set the location equal to the intege...
[2 replies] Last: > something other than #include <vector>? > If so how would it be don... (by JLBorges)
How to compare price which is read from the file?
 
Hi. I'm trying to compare prices which are read from the file along with other information. The inpu...
[5 replies] Last: bro can i see your work? i need a reference for my assignment i'm new ... (by soulmind)
Check if a button has been pressed?
 
I know how to check if a particular button has been pressed but I basically want to disable the dele...
[1 reply] : I wouldn't recommending using WinAPI for GUI. There are a lot of libra... (by myesolar)
Singly Linked Lists
 
It's been a while since I've been on this site, but now I return asking for help to get ready for a ...
[1 reply] : If you've written the code and you aren't able to reproduce it, then y... (by myesolar)
Stuck on a Hw assignment and could use some help
 
Hello all, I have an assignment where I have to enable a user to enter four numbers and if the numbe...
[4 replies] Last: @sdailey The way your program is right now, you don't need an array. ... (by whitenite1)
Multiple Definitions Error
 
I have decided to make my own game engine using SFML (2.0) however i can't get far because i am gett...
[2 replies] Last: yep sorry i misread where i was learning from i have fixed it now (by Cronnoc)
Source reference site?
 
This is off topic but I was wondering how to do something like this on sourceforge. http://irrlic...
[1 reply] : You mean the documentation? I think it is doxygen (by ats15)
Please guide me in solving my problem
 
I am a beginner, learning and self taught. I've written the following program for electronic calcula...
[1 reply] : Ask the user for the unknown they wish to find. Use the appropriate fu... (by Yay295)
Sqlite3 get primary key and table name?
 
I need a way to get the primary key and the table name from a returned result. if (sqlite3_prepa...
[no replies]
Trig. Functions and Small numbers
 
I am having problems finding sin(<a small number>) I just want sin(z=0.19...) coming from an operat...
[2 replies] Last: Thank you very much. I completely forgot about this. :/ (by knowNothing)
Are lists contiguous in memory?
 
Fairly simple question. Are the elements in list placed in sequential memory addresses like vectors,...
[2 replies] Last: std::vector , however, does store elements contiguously in memory. ... (by LB)
Classes in a DLL?
 
Hi I am making a custom dynamic link library and the linker is having a problem finding a reference ...
[1 reply] : Never mind I found out how. For anyone who also wants to know how it i... (by danielmccarthy)
Problem with inheritance
 
Hello I'm beginner in inheritance and I'm trying to apply it with a simple example: I have a main...
[6 replies] Last: What IDE do you use? You are getting a linker error. Try to see if the... (by IceStorm)
How to find the length of the string?
 
int t; string a; cin>>t; getline(cin,a); int len=a.length(); cout<<a<<" "<<len; Input: 5 hello ...
[5 replies] Last: @George Kuriakose is right. But, since you are using C++, use the hea... (by IceStorm)
a little problem in my project
 
Ok, so I have this project I'm working on and I need help with something in one of the files: Leve...
[9 replies] Last: Thanks (by IceStorm)
Please help!! urgently..syntax error in function call
 
error says "cannot convert 'int*' to 'int' in function main() and also type mismatch in parameter in...
[11 replies] Last: for(i=0;i<num;i++) { small=A ; pos=i; for(j=i+1;j<num;j++) ... (by ne555)
Please help urgently!!! Error in passing of values to function
 
Error in passing of values to function to search for an element in a 1d array #include<iostream.h...
[1 reply] : 1) DO not place function declaration inside another function. It is aw... (by MiiNiPaa)
by TveryO
Very Basic Vehicle Class, Two Attributes
 
Hey experts! Could somebody please show me step by step how to create this simple class with two att...
[2 replies] Last: Sounds like a homework problem, and we don't write peoples homework. I... (by Need4Sleep)
Pages: 1... 3637383940... 43
  Archived months: [jun2014]

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