Beginners - March 2024

operator const char* return (1,2)
 
Hi y'all i was wondering if i can have something like this on one line? return (ss.str().c_str())...
[39 replies] Last: If I were to start using command-line compilation I would probably go ... (by deleted account xyzzy)
ASM code and C++
 
Hallo, cplusplus. i am trying to get a bios interrupt call to the bios in c++. but compiling i...
[3 replies] Last: OP is clearly not messing with programming on modern systems. Hints: ... (by Duthomhas)
Looking for tutor for OOP class
 
Hi everyone, I dont know if this is the right channel to ask this but im starting to fall behind pre...
[3 replies] Last: I can help you out with what I know currently. Tag me if you are inter... (by CodeChaser)
Launch A Program
 
I'm working on my GUI game framework (SDL, Linux Machine). I have a keyboard shortcut that sends thi...
[3 replies] Last: That's great, thank you. (by newbieg)
How to ensure log folder is created before any log calls are made?
 
The actual code I'm working with is complicated (and something I can't post) so I'm going to use a p...
[5 replies] Last: Logger.h does serialize writes to the logfile. There is a utility fun... (by kigar64551)
split 32 bit variable to array of 4 u8 variables
 
Hello. How can I split (using pointers) u32 variable to array of 4 u8 ? I tried this: u3...
[6 replies] Last: For the cast to be correct, u8 must be another name for unsigned ch... (by mbozzi)
Visual studio keep aligning assignment operator
 
Hi, I want to turn off this type of formatting someLongVariable = false; shortVar ...
[1 reply] : found it. In text editor | all languages | tabs | indenting -> check b... (by rudiHammad)
by Mif
C programming / Program is Crushing when in release
 
I got this Unhandled exception when I try to run my program in release mod. I don't know what am I d...
[12 replies] Last: Also here sortAndFindMax(propValue, 5); I'm sorting the array and th... (by Mif)
Linking problem with qrcodegencpp [Linux]
 
Installing a new library and future its compilation is always pain for me. I've just installed simp...
[4 replies] Last: >> /usr/lib/x86_64-linux-gnu/libqrcodegencpp.so.1 > This one looks lik... (by keskiverto)
Pointer to array in 2d array
 
Hi folks. I have certain function (in .cpp source) that takes a pointer to an array of 8 integer val...
[6 replies] Last: Ah, yes, you ran into magic VLA stuff. Fix that by cranking up your c... (by Duthomhas)
Git questions
 
Hi. Can I ask here git questions?
[2 replies] Last: That git-scm website has lots of git flavors for the 3 big OSes. If y... (by deleted account xyzzy)
  Archived months: [feb2024] [apr2024]

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