Beginners - February 2011 (Page 12)

trouble with my sort function
 
Can you guys take a look at my sort function? I need to sort netpays in ascending order while displa...
[6 replies] Last: Guys, any ideas on the above? (by cplusplusrookie)
First Call To cin.getline() Inside For Loop Returns No String
 
Dear Coders: I'm using Microsoft Visual Studio 2010 and am attempting to input a series of string...
[1 reply] : All, I found the solution to my problem by browsing over to the MSD... (by dbailey7)
by tonnot
How to extend class to a class I have in the same file
 
I have two clasess declared in the same file, below a own namespace. h file Namespace MYNS { ...
[3 replies] Last: Yes, of course. Thanks (by tonnot)
by Janman
XOR encrypter
 
Hello. I'm making a XOR based decryptor, that works like this. you have a character, fx 3, and a u...
[9 replies] Last: If I left you with the impression that you have to use two integers th... (by Computergeek01)
by tonnot
About parsing data from files opened in binary mode.
 
I'd like to read and write data to/from files in binary mode. I have to use a char buffer and then...
[2 replies] Last: Thank you very much ! (by tonnot)
understanding overloaded << and >>
 
I need to create an overloaded << & >> for a class. I was wondering if someone knew a good resource...
[2 replies] Last: sounds like a good starting place, I think I am going to look up more ... (by danaigo)
Any ideas on geting my program working for C++ class no idea what it needs
 
// Lab07 problem 1 By David Warner 2/19/11 #include <iostream> using namespace std; int mai...
[2 replies] Last: dtw103184 , Please do not post the same question in multiple for... (by closed account z05DSL3A)
Trouble with loop program
 
I have been asked to write a program that uses the formula series ∏ = 4 - 4/3 + 4/5 - 4/7 + 4/9 -...
[4 replies] Last: Thanks so much everyone! I could not have figured that out myself. (by mgilchrist)
How to pass a char* string parameter to a function
 
I have a function like this: char* wchars_to_chars ( wchar_t* wchar_string ) /////////////////...
[1 reply] : ur wchar_t* ws = "data" is incorrect. all widechar assignment needs th... (by Ultima)
VC++ vs Dev-C++
 
I've found it to be very difficult to find basic tutorials for Microsoft's Visual C++. Would anyone ...
[2 replies] Last: VC++ and Dev-C++ are IDEs (Integrated Development Environment). They a... (by hamsterman)
If else if indenting style - Comments welcome
 
Hi there. I'm a mechanical engineering student taking a class called introduction to engineering sol...
[4 replies] Last: @moorecm: Two other alternatives are to use min() and max() to sel... (by gatmalice)
Difference between cout and printf
 
Hello experts, I am new to C++. Please let me know the difference between cout and printf in func...
[7 replies] Last: When you want to append a newline to the output you can instead use th... (by filipe)
by shan03
how to access sql using c++?
 
how to access sql using c++?
[1 reply] : - Try using a network engine such as RakNet. It saves you time and al... (by Ultima)
by tonnot
Tutorial for file binary in-out & buffers
 
It is very difficult to find help about this. I want to do i-o operations using buffers. I want to...
[1 reply] : Buffer is just a block of memory. If you know where things are in it a... (by hamsterman)
cant understand anything from directx 10 need ADVICE
 
hay guys so i have learned basic c++ in collage and all they taught us is arrays, loops, martix, i...
[2 replies] Last: Could be your issue is too broad. People are usually offered help with... (by closed account D80DSL3A)
by CJ13
Binary search using word strings?
 
I'm trying to write a binary search program that finds a word in an alphabetized list/array. I have...
[1 reply] : std::string has operators < and > overloaded. if you want to use c-st... (by hamsterman)
by tonnot
Nobody read my topics ?
 
I have done 3 asks to the forum, but nobody answer me . What happens ? There are questions about f...
[1 reply] : What happens ? Maybe no-one has seen you your posts yet, or you hav... (by closed account z05DSL3A)
If and else being executed simultaneously
 
Hi there, I'm very very new to C++ and I have an error that I cant figure out. My code's purpose is...
[2 replies] Last: Your else statement is paired with your if (hour==0) statement. A... (by Moschops)
Vectors chars and strings with Morse Code
 
I didn't want to ask for help on this, but I am really lost on how to fix this error I am getting wh...
[4 replies] Last: I think the problem was that cin>>temp was not grabbing the spaces in ... (by xCaldazar)
No Idea what these compile errors are trying to tell me...
 
assignment2.cpp: In function `int main()': assignment2.cpp:18: invalid suffix on integer constant ...
[3 replies] Last: if (compute_discriminant=zero){//this is wrong. /*the = operator is ... (by rocketboy9000)
February 2011 Pages: 1... 1011121314... 43
  Archived months: [jan2011] [mar2011]

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