Beginners - June 2020 (Page 6)

Problem while reading Greek Letters from a file
 
Hi I am new on C++ but I have experience on other languages I have the following code: ...
[2 replies] Last: What exactly is the problem? You should be able to search for the comm... (by dutch)
read string and int in template
 
I am trying to read a file and search through the file to find the input but getting a little troubl...
[3 replies] Last: If you show us how the file is formatted, someone might be able to hel... (by Ganado)
Same random numbers from method call
 
I'm having trouble with a part of a method I am trying to write that first generates a random number...
[7 replies] Last: checking to see if you have like 5 items out of 100 (that is 0-100 pos... (by jonnin)
by sturk
C++ Unsure of minor implementation
 
Hi, I am in need of urgent help. I am unsure of how to implement the computation of the average of m...
[4 replies] Last: Hey thanks. I got it! Appreciate it alot man:) (by sturk)
print uint32_t variable different?
 
I tried print a variable declared as uint32_t and print. But print result is different with I think...
[3 replies] Last: Thanks. I don't know add leading zero will convert to base8. (by lampahome)
Quicksort and rearrange alphabetically
 
5. USING YOUR FULL NAME AND DATE OF BIRTH IN WORDS, perform a quicksort to arrange your name in alph...
[1 reply] : you forgot to post your code and any kind of sensible question (this i... (by jonnin)
writing to file (file handling)
 
hi i need help with my project. i want the following information to be written on file but i cant un...
[3 replies] Last: I do believe different names, but the same idea. http://www.cplusplus.... (by Handy Andy)
Passing object to static method
 
Hello experts! I am using the function _beginthread to start a new thread. But its callback is stat...
[2 replies] Last: salem c, It worked perfectly. Thank you very much! (by wolfgangt)
Why isn't working the powering of number ?
 
Why isn't working the powering of number on the real time calculater ? #include <stdio.h> #i...
[4 replies] Last: Well you ignored the previous thread of yours to use pow() https://www... (by salem c)
Assignment
 
I already done the menu part, but next few parts, i have no idea how to write. #include <iostre...
[6 replies] Last: Reneejong, You need to understand that we aren't in your class. We ar... (by dhayden)
help with a fill in the code exercise
 
I've been trying to figure this "finish the code" section on this online book i am doing. and for so...
[3 replies] Last: Be sure to change only what is what's marked with ". . . " in the orig... (by dhayden)
Looking for methods to a exit a program
 
Hiya, folks. My quandary is fairly simple. I'm looking for ways to set the program so that it may...
[3 replies] Last: I think we're overthinking it here. How about something like, // Exa... (by Ganado)
How do i avoid repeats of numbers when obtaining random numbers?
 
I made this vector filled with randomly generated numbers. I do not want repeats. is there any way I...
[5 replies] Last: Is Fisher-Yates a likely implementation of std::shuffle ? http://www.... (by keskiverto)
Palandoken Number
 
A palindrome number containing 4 unique (unique, different) numbers is called the Palandöken Number...
[1 reply] : So what's your question? How to check them? How to generate them? (by salem c)
print array in function call
 
I want to print students name in ascending according to marks. i manage to do that but there is som...
[2 replies] Last: Thank you Andy. Really appreciate your respond. I understand all your ... (by murasaki98)
Verifying if a nr is prime. Program not running fully
 
Hi! I am new to C++ and I am trying to learn on my own, so I tried to make a program that verifies i...
[5 replies] Last: Add this function before main. void wait_key() { std::cout << "** h... (by Thomas1965)
How can i add powering ?
 
How can i add Powering ? (I added Addition ,Subtraction ,Multiplication ,Division , Modulus) But i c...
[2 replies] Last: salem, this person has already been shown the link for using code tags... (by deleted account xyzzy)
Can anyone guide me regarding implementation of data structures using SFML?
 
Hello! I have been assigned a project to implement arrays, linked list and hashing using SFML on vis...
[3 replies] Last: This is what I have done so far. It's printing a square on-screen. No ... (by lost110)
Initializing class with string constructor?
 
Hi, trying to make a class with some member functions that basically just gathers a name from the de...
[2 replies] Last: Yep, that did 'er. Thanks. (by dakotad8218)
Why is it giving Compiler time error?
 
Why is it giving Compiler time error? 1. #include <stdio.h> 2. void foo() 3. { 4. return...
[5 replies] Last: PLEASE learn to use code tags, they make reading and commenting on sou... (by deleted account xyzzy)
June 2020 Pages: 1... 45678... 12
  Archived months: [may2020] [jul2020]

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