Beginners (Page 23)

by Haniya
user login in c++
i am making a login form but it is not comparing the user input values to the values in the file cor...
[1 reply] : admin<<matchuser<<matchpass; admin is an ifstream. Why do you try t... (by Thomas1965)
Equilateral triangle with arrays
Write a program that will display an equilateral triangle with a height depending on the user. The m...
[9 replies] Last: why can't I create a new topic? (by closed account 9G3v5Di1)
get and set
iam so lost with the get and set functions . please someone help! #include<iostream> #includ...
[1 reply] : first of all, as their names imply, Getters are public methods used... (by Aceix)
by dms99
Translator to Pig latin program
So I've been trying to implement a program that translates a word/sentence (inputed by the user) fro...
[no replies]
Sieve of Eratosthenes
Using the Sieve of Eratosthenes algorithm, determine the prime numbers in [0, kN] as well as the num...
[2 replies] Last: Thank you so much for your help. I've managed to get it to print the m... (by AbleMotionz)
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
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)
Pages: 1... 2122232425... 35
  Archived months: [aug2018]

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