General C++ Programming (Page 7)

Help with displaying the least and greatest planes landed in any given day
#include <iostream> #include <string> using namespace std; struct MonthlyInfo { int totalLan...
[no replies]
Webcounter, get and reset
I'm doing a lab for my class but we don't seem to get it, how to get started. Can someone explain wh...
[1 reply] : Webcounter appears to be the class you are supposed to be writing. It... (by doug4)
by aloud9
cin problem
I want to type a Package Letter that's equal to a Number to cin >> Package; #include <iostrea...
[3 replies] Last: You want to make the Package variable either a char or a std::str... (by LB)
Reference Fix
I cannot seem to find the correct "channel" for submitting fixes to the Reference documentation. I h...
[1 reply] : Go to the problematic page. Scroll to the bottom. Find the Spotted an... (by MiiNiPaa)
Syntax for Pointer
Hello, I am having trouble with recognizing the syntax related to pointers and arrow operator. In th...
[5 replies] Last: Change the following: #include <iostream> using namespace std; class ... (by coder777)
counting common char
#include <fstream> #include <iostream> #include <string> #include <cctype> using namespace std...
[5 replies] Last: #include <iostream> #include <fstream> #include <limits> #include <st... (by JLBorges)
by helios
Passing around heterogenous data
This is more a question about general design than specifically about C++. I have a class Consumer t...
[12 replies] Last: It's more like this: class Consumer { public: Consumer() : state... (by helios)
Need Help on Pointers
Hi everyone, I started programming a few months ago, and complicated syntax has kept torturing me...
[5 replies] Last: an object is an instance of a class. the object is representing the c... (by Ericool)
can pointer point to 2 variables at one time?
[4 replies] Last: like @coder777 said make a simple struct like so : struct Structure ... (by Ericool)
Study Guide and General Questions Help?
Hey guys I have an exam coming up soon and was wondering if you guys could assist me with some of th...
[3 replies] Last: @ MiiNiPaa Just wanted to mention that I didn't answer all the quest... (by TheIdeasMan)
Username and Password program
I am writing a program that should accept value of username and password. The system must check if t...
[12 replies] Last: This is your program which I ran to make a test. Please note I had to ... (by kemort)
Forcing an action
Could someone explain or link me something that would explain how to make another program open, do s...
[3 replies] Last: Why don't use good old ipconfig | findstr IPv4 in command line? If y... (by MiiNiPaa)
Is multimap the right choice
Hi, I require a container for (key,value)-pairs allowing two actions: * insertion of new entri...
[6 replies] Last: Thanks! Of course this is exactly what is required. (by tiloarens)
missing funtion header???
i keep getting an error '{' missing function header (old style formal list?) what does that mean? ...
[3 replies] Last: It's not just those. And please do not try to post the same problem ju... (by YFGHNG)
no time
i have no time to do this and i have no idea how to separate the parameters to get this to work. if ...
[3 replies] Last: Bro, you're gonna have to start using code tags or people are going to... (by YFGHNG)
matrix operation not working!!!
Please help, this program is meant to create two matrices and gives the user the choice to chose the...
[3 replies] Last: Hi. As Peter said, you should have used break statements in each case ... (by HabibAurangabad)
Array indexing
I have an array with values ranging from 0 - 100 I need to output these results in this format: ...
[1 reply] : # include <iostream> # include <cstdlib> using namespace std; int ma... (by Techno01)
optional matrix programm not working
#include <iostream> using namespace std; int matrixA ; int matrixB ; int matrixC ; int...
[1 reply] : [code firstline=71] switch(op){ case 1: add(); break; case 2: s... (by Duoas)
Transfering Value Between Functions (Begginer question)
Hello! I'm working on my first big project (big for me) and I have an issue. How can I transfer the...
[3 replies] Last: A star in C/C++ means pointer. It means this variable refers to an ad... (by zer0t)
Make run faster?
Hello, this program is using merg sort to sort a very complicated data file. This program works beau...
[6 replies] Last: When posting, please put code in code tags. Highlight the code and cli... (by dhayden)
Pages: 1... 56789... 26
  Archived months: [aug2015]

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