Beginners (Page 92)

How to declare a class object with an array object of another class?
 
How could I declare an object 'transaction1' of class 'CashRegister' with an object 'inventory' of a...
[1 reply] : The problem here is that you're accessing memory that isn't yours. Arr... (by Avilius)
problem with searching name in file in c++
 
i have to write a c++ code for telephone directory in which a user can search for number for specifi...
[16 replies] Last: I haven't read all this, but to answer your question, I notice you kee... (by Duoas)
Searching made easy
 
I have an issue of laziness that I would like to resolve. My problem: I am a bing rewards user a...
[1 reply] : Macro (in the sense of a recorded/generated sequence of input events) ... (by helios)
by Blank
Function and Arrays
 
so basically im collecting the user's input and depending on their choice, the output will be averag...
[2 replies] Last: oh...lol no wonder it doesnt work haha (by Blank)
Counting the frequency of words in a string.
 
I've written a code on counting the frequency of words in a string which is given below. #incl...
[1 reply] : sorry ,I am still working on it (by Techno01)
Looping part of code with if statements
 
I'm new here, I've been stuck on this for a while now hopefully you can help me. So what I need help...
[10 replies] Last: @MaxDaniels @LendraDwi The if statement is correct with && because t... (by AbstractionAnon)
Using Random Shuffle
 
I need to make this program that will scramble the letters between the first and last letter of each...
[3 replies] Last: Don't forget to seed the PRNG: #include <cstdlib> #include <ctime> ... (by Duoas)
problem in output
 
Hi, I am new to c++ and programming. I was solving the following question: Design a structure calle...
[14 replies] Last: Is cin.ignore(1, '\n') the same as using cin.get() ?? (by jub4jive)
How to count the frequency of words in a string?
 
What is the best way to count the frequency of words in a string? Sample Input: I don't know ...
[3 replies] Last: Did you look at the example program in: http://www.cplusplus.com/refer... (by keskiverto)
Calling function from class
 
I was given this class type and am supposed to get input from the user. My error says "undefined re...
[4 replies] Last: I'm using an IDE (CodeBlocks), but I'm supposed to use a makefile. I j... (by jynx678)
Libraries, dlls, and headers
 
Hello, I've been programming for quite a while now, but I always have problems with 3rd party lib...
[1 reply] : So what is the point of the library if I include the entire source co... (by AbstractionAnon)
ifstream/ofstream writing in header file class
 
Hello, Having an issue with the operators >> and << that I'm using to save/load data to a data fi...
[2 replies] Last: Ugh, I feel like an idiot. I was looking at it for like, half an hour ... (by hyperfine)
Flushing the stream.
 
I am reading http://www.cplusplus.com/doc/tutorial/basic_io/ right now and it says: The endl manipu...
[18 replies] Last: but i don't know what iostream does exactly either, i just learned tha... (by Jacobhaha)
by lew13
Quiz Question
 
I was taking a quiz and I came across the following code. I didn't know how to go about solving the ...
[4 replies] Last: Ai means if i is 3 for example then Ai is A3 (by kemort)
output formatting error
 
Hi, I am trying to figure out why my output is coming out non aligned with the header like this: M...
[1 reply] : Since you didn't post your examples in code tags to retain the formatt... (by jlb)
Compiler
 
I know something about C++, and I used to create simple programs in C++ language. I learned the bas...
[1 reply] : Sounds like you are after an IDE rather than a specific compiler? visu... (by mutexe)
Can someone help to convert this C++ code to Java
 
this involves OpenCV. I am having a trouble converting the c++ "for" loop part (check the bottom). ...
[no replies]
Bracketing Search
 
I need a little help with bracketing search problem. i solved the first part which involves guessin...
[3 replies] Last: Thank you it works very well with this algorithm. (by Victor89)
sort by length
 
can u guys help me find out errors? the error is "error: invalid use of member (did you forget the '...
[1 reply] : if (stringArray .size() > stringArray[i + 1].size()){ (by mutexe)
need help~testing shift equivalent by using bool function
 
bool equivalent(int a , int b , int n){ for(int i=0;i<n;++i){ for(int j=0;j<n;++j){ if(a[(...
[3 replies] Last: Well thanks to your post i'm having fun to find the answer :D Try ths... (by LendraDwi)
Pages: 1... 9091929394... 103
  Archived months: [aug2014]

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