General C++ Programming (Page 45)

Hi. What are 'first' and 'second' in the example at:
[2 replies] Last: first and second are the items in the map. so in the example.. { "al... (by Jaybob66)
Reading an integer vs a character
Today i had my final exam in computer science. I did great , but i got a question regarding the last...
[4 replies] Last: Heh i got maximuuum points( 100 p) !!! (by RaresMihai01)
[QUESTION] Advanced default parameters function
Hello everbody, I'm asking how to create a function with default parameters with the possibility to...
[3 replies] Last: There is no support for named parameters, but it is possible to emulat... (by keskiverto)
how to read csv file
Input file: Course Of Sales.csv Time,Price ($),Volume,Value ($),Condition 10/10/2013 04:57:27 P...
[3 replies] Last: #include "date.h" #include "time.h" #include "stock.h" #include "Vecto... (by soulmind)
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 spectral)
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 spectral)
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)
Pages: 1... 4344454647... 50
  Archived months: [jun2014]

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