Beginners (Page 101)

height conversion function prob
 
#include <iostream> #include <iomanip> #include <conio.h> //for _getch() using namespace std; co...
[7 replies] Last: Still doesnt help with the convert section. It doesnt convert centimet... (by sushiroll)
can someone please solve this i been working on this all evening please!!!
 
will you help me write a program that creates an array of 10 random numbers between 10 and 20. the p...
[2 replies] Last: #include <stdio.h> int main() { int num1 = 0, num2 = 0, num3 =... (by Life FUTURE)
issue within code please help
 
program will not run as intended and I can not figure out why, i have used the same format in a prio...
[18 replies] Last: In Visual Studio highlight all your code, then go to Edit -> Advanced ... (by booradley60)
Having trouble closing an output file stream?
 
Here's the code I have written: else{ intronCount++; intronNumbe...
[no replies]
Need help writing pseudocode and flowchart for the following code. Help please.
 
Hi all, I have finished writing the code for the following program. I have concerns with the pseudoc...
[1 reply] : Problems so far: 1. Haven't taken on-board advice already given; 2. D... (by TheIdeasMan)
lookuptable / hash table
 
I am doing some work in which i need to simulate, potentially, a large amount of memory, I am readin...
[1 reply] : http://www.sgi.com/tech/stl/Map.html (by Zaita)
At wit's end-Beginner problem
 
I have solved some of this problem but not all of it and have spent so much time already my laptop w...
[6 replies] Last: what i do for this is quite complicated. and something like this mayb... (by Lim Boon Jye)
I don't understand why I am getting the largest value repeated
 
Hi. I am trying to get an array of random numbers from 1-100 divisible by 11 with a for loop, so I d...
[3 replies] Last: I've shown you how to generate numbers that divide equally by 11 witho... (by Zaita)
Right Justified Numbers
 
I'm trying to figure out how to output some digits that are all right justified without using setw()...
[no replies]
Please help with rand function
 
I need to design a program that generates 100 random numbers and keeps a count of how many of those ...
[4 replies] Last: Thank You. You are awesome :) (by hanhthai)
Creating a read/write database.
 
I have a question. I can't seem to find any specifics. I won't to create a code where a use can inpu...
[2 replies] Last: You write a text file that looks like this: Full Name, Tele-phon-e--N... (by usandfriends)
Strange result of using delete char in class
 
Welcome! I have a problem with use of destructor in my program. If I am using delete *char in dest...
[5 replies] Last: It is not, you are just unlucky. As I said before temp->sign = new ch... (by ne555)
Why is this person using pointers?
 
I am just getting back into C++, but I have been programming for quite some time. I decided to jump...
[6 replies] Last: Sweet! Thanks guys! I notice the guy does that for most of the poin... (by DoctorWhy)
Function
 
How to include a function incx to increment the value of x by one?
[2 replies] Last: const static unsigned short int Increment(const static unsigned short... (by Pickle Gunner)
Overloading functions on c++
 
Hello, does this code seem avoid a duplication of code in each of these functions? I need to call on...
[1 reply] : This is as efficient as you will need it, Btw though - Test if all 3 n... (by Pickle Gunner)
Matrix Product
 
Here is my code so far, but I dont know what to do now. I am trying to write a function that takes 3...
[1 reply] : Use code tags: http://www.cplusplus.com/articles/jEywvCM9/ You should... (by eklavya sharma 2)
Algorithm puzzle
 
I am currently taking a cs class and have this assignment. I am completely lost, so any help would b...
[no replies]
scanf(...)
 
Hello all, I have a problem interpreting the code. I know that scanf will pass stdin into the se...
[9 replies] Last: g=*(buffer+nextc++); Does this mean: g=buffer ; nextc++; ? ... (by knowNothing)
order of operations
 
Hey all I have a quick question how would a computer read this process. If a = 52, b = 13, c = 4, a...
[1 reply] : You need to consult a C++ operator precedence table: http://en.cpprefe... (by Catfish3)
Trouble with obtaining strings from console.
 
void Result::Input() { system("cls"); std::cout<<"ENTER STUDENT'S ROLL. NO.: "; std:...
[1 reply] : you need to catch the newline. void Result::Input() { system("cl... (by Yanson)
Pages: 1... 99100101102103... 138
  Archived months: [mar2013]

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