by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duthomhas)
so im still figuring it out what the hell am i doing with my life haha. i found the same homework po...
[8 replies] Last: Thanks to you guys, i'm done with cpp. I've dropped it from my subject... (by MikeMike)
C Program Question
The smallest number in the array is 2, but for some reason my program is saying the smallest number ...
[6 replies] Last: @mysiarobin1987 I added in the swap in section e. #include <stdio.... (by whitenite1)
by yat89
random number and swap
Hi all. I'm c++ beginner. I had write codes to generate two random numbers then swap those, but I ca...
[13 replies] Last: > but they select two random stops not the same end and start times. ... (by JLBorges)
bitwise shift confusion
why they print differently, both in clang and vs c++ t1= 0000000000000001; 1 t2= 1111111111111111;...
[4 replies] Last: C++17: The value of E1 >> E2 is E1 right-shifted E2 bit positions. ...... (by JLBorges)
Is there a way to represent an integer character?
I am currently creating a find function to locate a specific piece of data in a different lines. Usi...
[5 replies] Last: it stands for regular expression and they let you match patterns in st... (by jonnin)
Need Help Separating Outputs
So I’ve just started programming for college and we’re now halfway through the semester. I am st...
[2 replies] Last: Hello SkytheWitcher, My apologies I was interrupted and lost my thoug... (by Handy Andy)
Cannot Read & Store Data From File
Please Note: This is for a homework assignment, however , the due date has already passed. I'm doin...
[6 replies] Last: > ‘readFile’ was not declared in this scope before you use a funct... (by ne555)
Program not swapping correctly
In part (e), 2 and 34 should be swapping places in the array but instead 5 and 34 are swapping. Any ...
[2 replies] Last: thank you so much lastchance for your patience! i got it now! (by mysiarobin1987)
by vysero
Help understand whats happening in this function
I need help to understand whats happening in this function: void trackDeviceIDs(uint8_t sourc...
[3 replies] Last: yes shifting zero has no effect. shifts multiply or divide by 2 per ... (by jonnin)
by wuwy
How can I compare data from char array from structure
Hello, I got this exercise where I have to compare gene fragments of two (or more ) sheep and print ...
[7 replies] Last: c++ has a sorting function, unless this is for a class that said not t... (by jonnin)
[Problem] Operator Overloading +
Write your question here. Dear C++ Community I have encountered a problem when trying to overload t...
[3 replies] Last: Thank you. I really appreciate all your help. (by NovaPrimeveera)
Code not reading in Array from .txt file?
I seem to be having a problem reading in an array from a .txt file. I am looking to use a binary sea...
[5 replies] Last: Hello EarlyProgrammer, Something that occurred to me while testing yo... (by Handy Andy)
Snake Game
i'm trying to create a snake game and i have just created the frame and i wanna see if this will wor...
[4 replies] Last: yeah i know that without the while loop it will print the square once ... (by am161363)
by Alb13G
Having Problem With a Function. Need Assitance
Write your question here. I'm having a problem with the final function "orderTestAbs". The first 2 ...
[4 replies] Last: Thanks a lot salem c, appreciate it ! (by Alb13G)
Cant use 'auto' in my class.
Hello, I want to create auto lastDataSendTime = std::chrono::system_clock::now(); in my cla...
[5 replies] Last: If Misc::sendData is not a static member function you need to pass the... (by Peter87)
Complilation problem
Hello I have a problem: I have 4 files: AllOnesGA.cpp, Population.h, Individual.h, GeneticAlgorithm...
[1 reply] : ¿are we supposed to imagine your code? you didn't provide a prototyp... (by ne555)
flexible array member
Hello I have a problem: I have 4 files: AllOnesGA.cpp, Population.h, Individual.h, GeneticAlgorithm...
[4 replies] Last: who knows ISO C++ forbids flexible array member (by ne555)
by Delcho
Problem with lvalue
Can someone tell me why I get an error message using temporary as lvalue [-fpermissive] on k.back()....
[3 replies] Last: Here's a minimal program that also makes the same error message, in ca... (by Ganado)
Pages: 123... 41
  Archived months: [jan2019]