Beginners (Page 29)

BMI output
 
my output doesnt show for the bmi .please help. #include<iostream> using namespace std; ...
[1 reply] : nvm i saw what was wrong (by poohbear)
Why is my If Statement coming true when it's false?
 
I've tried googling but I have had no luck so far. cout << "Please enter account number an...
[3 replies] Last: or, consider instead if(tolower(serviceCode) == 's') (by jonnin)
Using Base + Offset to grab 4 chars as an int
 
I have a char array called 'mem' sized to 100 Bytes. I'm trying to use "base address + offset" to ac...
[4 replies] Last: Didn't I answer this already? int read_int(const void *mem, int off... (by helios)
Drawing a Diagonal
 
I'm new to this. I want this to result in a diagonal line. #include <iostream> using std::cout; ...
[4 replies] Last: At cosmicInferno, You had a correct solution except line12. for (in... (by Manga)
by nearc
question
 
what does the " *start" do? why use "temp = new(struct node); instead of temp=new node?" ty ...
[2 replies] Last: Thank You (by nearc)
by Mfontz
Need help writing data to a file
 
I have a commercial gyro sensor that I'm trying to get data off of. By the sample code, I've been ab...
[3 replies] Last: Thanks for the suggestions! (by Mfontz)
by Bogard
CRC8 (uint8_t) from uint16_t data
 
Hello, i m new to c++ and low level programming and i need to check uint16 data with an crc with uin...
[1 reply] : I would not modify it. instead, force-fit the 16 bit data into 8 bit ... (by jonnin)
Arrays in ascending order
 
Write a program that accepts five (5) integers from the user, sort in ascending order and display th...
[10 replies] Last: IIIIIIIIIIIIII absolutely got ittttt thank you so much for both of you... (by closed account 9G3v5Di1)
array of pointer
 
i want to make array of pointer to char and assign it char however array size is from user for exa...
[7 replies] Last: > size of array is from user and size of string is also according to u... (by JLBorges)
by fredo
Finding occurrences of substring
 
I need to find the number of times a word or pattern appears in a string. Note: STL containers and...
[2 replies] Last: There is probably a hard to read and understand single zero loop ve... (by lastchance)
A simple program however doubts on it
 
Hello mates. i would like to see your recommendations and your quotes. i don't know if i understand...
[2 replies] Last: muchas gracias compaƱero. thanks mate (by fernatore)
need help with an assignment
 
Write a program to compute the grade earned by a (one) student. The program will initially request 6...
[8 replies] Last: Hello Cerdoken, As I was scrolling back through your post of "Sep 19,... (by Handy Andy)
by Lilil
Getting the current time of day from hour, seconds, and minutes using structure C++
 
How do I even get the time of day in military time from the imputes I would receive from this code? ...
[2 replies] Last: Obtaining the current time of day doesn't require you to take user i... (by mbozzi)
return from the visuals after the output
 
Hi all. I hope you give me some little attention and time, i need someone to rely on to develop my p...
[11 replies] Last: Hi sir @jonnin, It's fine now Haha!! Clrscr(); didn't work. It just g... (by daryledevs)
Calculation function
 
I want to calculate the number of batches of cookies made after a user inputs the number of people. ...
[3 replies] Last: Yessss it works! I put the numberOfBatches after the cin and now its... (by rororoxor)
by Aathy
How do I skip numbers?
 
Hi Im writing this code listing from 1 to 30 but I want to skip any number that is related to 6. ...
[8 replies] Last: Oh, you're correct, he said any sixes, not just ends with six. Yep, ... (by Ganado)
function call into main
 
I am getting error in my code please solve this...! #include<iostream> using namespace std; c...
[3 replies] Last: @ blongho and @ mirzasalman First_Name="Mirza" should create a ve... (by Duthomhas)
using stringstream draw Tic Tac Toe
 
Hi, I want use stringstream to draw my board cout << "\n\n\tTic Tac Toe\n\n"; ...
[1 reply] : Replace "cout" with the name of your std::stringstream variable. Don't... (by Ganado)
Loosing identification when including header
 
Hello, I am trying to use a POINT in a class. When I create the header file everything is rosey. I c...
[4 replies] Last: Hey Andy thanks for the reply, You were right on the money I somehow f... (by BadAtEverything)
Help with threads
 
Hello everyone! Here is the code of the Universal Turing Machine from a few text files which can exe...
[1 reply] : Double post: http://www.cplusplus.com/forum/general/242782/ (by Thomas1965)
Pages: 1... 2728293031... 40
  Archived months: [aug2018]

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