General C++ Programming - October 2013 (Page 44)

when you input a name the output omit the first character. what to do?
 
//When you register a patient info and search for your record the first letter of the names omitted....
[2 replies] Last: it omits the given information. for example last name:torres firsname:... (by ImShielaN)
Performance penalty for repeatedly dereferencing a pointer?
 
Hello, I often find myself doing the following: Let's assume "person" is a class that has a membe...
[2 replies] Last: Unless the functions are inline or have internal linkage (that is unle... (by JLBorges)
Error message
 
I created a while loop that finds out how students did on a test. The most that can be answered is l...
[9 replies] Last: It's such an obvious answer but yet I overlooked it. I got it! I used ... (by kissy2490)
by Beta4
Easy Calculator with doubles
 
I have a problem... I made an easy calculator but having trouble. The problem is that it works... b...
[7 replies] Last: Can you post your entire code here? (by AdrianH)
by kienme
Annoying blinking cursor
 
Hello people, is there a way to stop the cursor from blinking in the output window(or showing up at...
[3 replies] Last: Aah yes! That was helpful, thankyou, NwN and whitenite1. (by kienme)
how to find Expression must have class type
 
#include<iostream> #include<math.h> #include<string> using namespace std; class houseinfo{ ...
[2 replies] Last: Please use code tags when posting code, to make it readable. You've d... (by MikeyBoy)
how to find 49 combination for 2 array each of size 3;
 
Write your question here. Q:Array 1={1,2,3} Array 2={4,5,6} 2n-1=2(pow 3)-1=7 2n-1=2(pow 3)-1=7 ...
[no replies]
by zita
C++ error on Ms Visual Studio: “Windows has triggered a breakpoint"
 
Hi all, I want to extract all 3 grams(each 3 gram contain 3 byte with 1 byte shift each time) of ...
[1 reply] : It may be a lot easier if libraries with an idiomatic C++ interface we... (by JLBorges)
trying to change first letter of each name to upper case.
 
I can get the first letter to change if there is only one word. But if there are two words it wont...
[3 replies] Last: std::string::find is defined to return std::string::npos if no match i... (by andywestken)
by bjb414
Program work fine when debugging but crashes when running normal
 
The program work fine when debugging but it crashes when i try to run the .exe, This is the funct...
[4 replies] Last: i not sure what i changed. Do you keep your code under version cont... (by andywestken)
by mqazi
Friend Functions
 
#include <iostream> using namespace std; const int IDLE=0; const int INUSE=1; class C2; // forw...
[5 replies] Last: i'm working on something that has 37 projects in the VS solution. Inte... (by mutexe)
Looping Simple Menu
 
New to programming, no prior experience and 4 weeks into intro to C++. Alright.. after trying to ...
[1 reply] : @karthur13 Here is how I do menus: http://www.cplusplus.com/forum/b... (by TheIdeasMan)
Help with Program! Im new at this
 
I am just learning how to program and need help, I have no clue what to do. Everything I have tried ...
[8 replies] Last: I don't know how to do that. I was hoping someone could show me a cod... (by cire)
Stringstream Consectutive Whitespace
 
So I have a text file named test.txt on the root of my c:/drive. I finally managed to arrays work...
[13 replies] Last: I figured it out.... i resized without using a default value, which me... (by Brntphish)
How to pause until file changes are made?
 
I want to monitor a text file. So far what I have is the program reads and prints the names in the ...
[1 reply] : GNU coreutils package has program 'tail'. Tails has option "follow": ... (by keskiverto)
Attempting to make an AI. Please read!
 
How would I write a program which, every time space was pressed, it would convert the string into a ...
[3 replies] Last: cheked char currentChar; const char* charArray; string someString; f... (by Toshen)
Convert from integer to character string
 
I have been trying to write a function which can convert a number from an unsigned long integer to a...
[4 replies] Last: OK, thank you, I will work on that. (by Raisintoe)
by Beta4
Vector and string problems.
 
Ok I need to create a program that gets input from a person... I can type a number 0-9 and need to g...
[4 replies] Last: why not use a 2d array instead? ect.... search till you find t... (by Gkneeus)
by flony1
working with txt files
 
hello friends, trying to understand a little work with txt, and in c + +, the file I can not open an...
[2 replies] Last: yes, I put the txt in the same place good day to all, yesterday in a... (by flony1)
help on a text formatting program
 
I need to design a function that, given an open input stream and a value L, reads a plain-text docum...
[no replies]
October 2013 Pages: 1... 4243444546
  Archived months: [sep2013] [nov2013]

This is an archived page. To post a new message, go to the current page.