Beginners - August 2018 (Page 5)

by DTM256
Ws2_32.lib is not on my system
 
Hey guys, Both my work computer and home computer just doesn't have the Ws2_32.lib library. I've ...
[6 replies] Last: This is a linker error and not a run-time error, correct? Assuming, a... (by Ganado)
Multidimensional array on heap.
 
Hi! I have a question. I have the following code: short int some_var1 = 20; short int some_va...
[8 replies] Last: Thank you all for you replies! I'll think about it. (by teodor0xcb)
Header guards (1,2,3)
 
Hello there, I am going through proper header handling. I learned about the header guard technique ...
[45 replies] Last: Ah, you mean just scale R before calling overlap and only give R to th... (by PhysicsIsFun)
by Ch1156
Creating different weapons in class (1,2,3,4)
 
So i'm making a game where you fight dinosaurs in an arena, there will be different weapons. Instead...
[67 replies] Last: Just to reiterate this, really pay attention to these things: [quote=... (by TheIdeasMan)
Print the largest divisor of a number , different then him.
 
Hy there ! Print the largest divisor of a number , different then him. E.c: So if I ty...
[5 replies] Last: wish you best , helped me a lot !!!!!!!!!!!!!!!!!!!!!!! (by WalterCC)
by applj
Generate non-repetitive random numbers without array
 
I'm fairly new to c++ and I'm making a random number generator program. Update: I've already do...
[12 replies] Last: [Edit: bitmap<> should have been bitset<>] You don't need the clearVe... (by dhayden)
Doesn't compile
 
My code doesn't compile, I'm pretty sure the error is in the *inputscores function. Can someone tell...
[4 replies] Last: C++ is case sensitive, you declare int Tests(); on line 15, but defi... (by Ganado)
how to accept input from a file.
 
I want to make a class whose object has three data members which are firstname,lastname and age. I h...
[3 replies] Last: Just call getline i-1 times and start the input from there (by Thomas1965)
Integration question
 
My last math question here for the day,I just have one more and I think it's more a scientific notat...
[11 replies] Last: thanks guys much appreciated, I've been programming for approx 2 year... (by adam2016)
Why my program is going to infinite loop
 
Write a loop that sets newScores to oldScores shifted once left, with element 0 copied to the end. E...
[6 replies] Last: @icy1, why should calling a function count as writing a loop? Also why... (by Thomas1965)
Need help with Arrays
 
For example, I entered : Enter a number: 5 Enter element 0 values: 10 Enter element 1 values:...
[2 replies] Last: Thanks for the help, it finally worked I changed the : Lines 9, 13, 1... (by kramsuiluj)
Help with equations inside of code? Newb...
 
I need help calculating the (x,y) position at each time step I was provided with in the .txt file. A...
[4 replies] Last: You need to loop over the vectors ... float pos_x = 0.f, po... (by nuderobmonkey)
by H00G0
Storing text in program.
 
Hello people! I have a question that may sound odd and easily bypass-eable but it strikes my curios...
[13 replies] Last: The std::string class's limit is going to be whatever your computer ca... (by Ganado)
by RCPP
Input Validation
 
Hello everyone. I am trying to validate the user input but since I'm using unsigned long long, I'm u...
[2 replies] Last: @JLBorges - Thank you! Although, it would be better to have predefined... (by RCPP)
differentiation question
 
hey guys, I'm in a pickle here,I have a maths exam tomorrow and just looking for help,but I am no...
[6 replies] Last: Just practice it a few times with different numbers/angles (that you c... (by Ganado)
Arrays with for loops
 
Array testGrades contains NUM_VALS test scores. Write a for loop that sets sumExtra to the total ext...
[3 replies] Last: @Repeater When I replaced (testGrades /100); with (testGrades -10... (by philip1999)
Passing Array to function
 
I get 1 as output. Do you what causes that problem? By the way the function is located in a header f...
[8 replies] Last: MikeyBoy Thanks for the tip I'll take a look at that (by TRGraphix)
Any reason to use std::string anymore?
 
With std::string_view, is there any reason to prefer std::string over std::string_view now? I didn't...
[9 replies] Last: Note that much of the differences in performance in Bartek's benchmark... (by Peter87)
business idea of making a mobile app
 
Greetings to all! I need a sort of advice! I have a business idea of making a mobile app. Maybe so...
[4 replies] Last: If you want to talk to people on this forum about that you should put ... (by mwell008)
error C2280 - attempting to reference a deleted function
 
Hi guys, this piece of code struct Test { Test() {}; Test(const Test&) = delete; ...
[4 replies] Last: Thanks guys. (by Unspoken)
August 2018 Pages: 1... 34567... 15
  Archived months: [jul2018] [sep2018]

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