General C++ Programming (Page 6)

C++ Recursive function "asterisks"
How do I get an output something like this? Ex. Input: 5 Output: * * * * * * * * * * * * * * ...
[5 replies] Last: I don't doubt the assignment is to use recursion, but I was bored and ... (by Furry Guy)
by mot
need help for this problem
1. Create an array of integers and initialize/assign random values to each element. 2. Allow the use...
[5 replies] Last: @mot, If you change your lines for ( i = 0; i < array_size; i++) { ... (by lastchance)
Type "ArrayList" could not be resolved in eclipse
I have the following code with a header, a CPP code, and a driver code. Here is the header code: #...
[4 replies] Last: I just found out that I just don't have the Array header file in my Ec... (by anonymoususer13579)
c++ call class from on file to another
I'm trying to call my class CharacterMenu from my other file so i can start it after the user inputs...
[11 replies] Last: Outside of the scoping issue mentioned by Grey Wolf , there is really... (by Duthomhas)
examples for >>
Oh, yeah, I remember why I lost the will to help people. They post a question, get help, then go...
[14 replies] Last: [quote=MikeyBoy]What am I supposed to have done now? Heh.™ (by Furry Guy)
is it possible to use function pointer like this?
---sorry for my bad english--- i want to use like this (DWORD(__stdcall*)(DWORD))0x12345678(10); ...
[1 reply] : You just need another pair of parentheses: ((DWORD(__stdcall*)(DWORD... (by coder777)
by Kmpck
Question about pointer objects
Question about pointer objects Hi guys! I am trying to study and understand something… ...
[3 replies] Last: struct foo { things } variable; //this makes a variable of type fo... (by jonnin)
function within a function error
Hi, working with trying to get a function within a function to work. I get the following result: Er...
[2 replies] Last: That did it, thx. (by technologist)
Help add about code
Write a program that accepts a 7-9 digit integer and echoes the number with commas between every thr...
[8 replies] Last: Thank you so much, everyone. (by sonnguyen0604)
by sinjac
Namespace vs. struct counter
Hello, I am currently making a minimalistic testing framework for on-target unit testing. I am makin...
[2 replies] Last: Multiple files can share a namespace, and add declarations to that nam... (by kbw)
C++ project ideas and practical applications related video tutorials.
I have recently made the following short video tutorials with full code in C++ . I am planning to up...
[2 replies] Last: Thanks for the input. There are too many online sites providing basics... (by seccpur)
Terminate thread without memory leak
Hello everyone, I want to implement the following logic: int global_count; // this shoul...
[9 replies] Last: Line 18 waits for t to complete. So your code starts a thread, wait... (by dhayden)
Program is doing both for loop and if statement at the same time
Hello, I'm trying to code a program which will cause my nucleo board to output different symbols eac...
[5 replies] Last: The task requires that the blue user button on the nucleo board switc... (by dhayden)
Cannot pass a String to Function()
I am trying to build a function that will process a string, and return the updated string to main.cp...
[17 replies] Last: seeps, No, there is no operator==(const std::string, int); in the pro... (by rjmcinnes)
exit from while loop win32gui
i have 2 button in my gui the first button name is "run" and secoud button name is "stop" when i cl...
[7 replies] Last: malibor <3 Thank you very much, you helped me a lot (by Hawlong)
OpenGL ERROR E0310
default argument of type "const char *" is incompatible with parameter of type "char *" My code: ...
[2 replies] Last: Ah very useful information thank you Sir (by FalconDe)
by gmeza
Help using destructors
Hi everyone! I am a hobbyist programmer. I used to be half decent in C, BASIC and some assembler...
[8 replies] Last: I've made some changes for consideration. However without all the code... (by seeplus)
by helios
Writing square root in cplusplus (1,2)
Square root is available as the function sqrt() declared in <cmath>.
[20 replies] Last: yea we are not there yet, but it would be interesting. (by jonnin)
LNK2019/2001/1120 Errors
I'm getting the above error in Visual Studio 2019. I'm posting a link to a screenshot so you can see...
[5 replies] Last: It's even better when you get that coveted "0 errors, 0 warnings". (by helios)
Error C3688 invalid literal suffix 'CLASSES_LIST'; literal operator or literal operator template 'operator ""CLASSES_LIST' ...
I'm getting the above error in Visual Studio 2019. I'm posting a link to two screen shots so you can...
[7 replies] Last: Thanks (by bishoposiris)
Pages: 1... 45678
  Archived months: [jul2021]

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