Beginners - June 2020 (Page 4)

by xidiot
structure node
 
Unidirectional list (with a fictitious head). Remove the k-th element from the list (k is entered fr...
[1 reply] : I made a code #include <iostream> #include <stdlib.h> #include <tim... (by xidiot)
Wrong calculation from website to solve dijkstra's algorithm
 
Hye! I was looking for an online Dijkstra's algorithm solver. I opened this website: https://graph...
[1 reply] : Hello lost110, In the image you provided the small numbers are lables... (by Handy Andy)
uninitialized local variable
 
1. why the local variable must have a value? although if it is global it works normally? 2. the last...
[3 replies] Last: "salem c", "jonnin" thank you guys for your support cheers. (by semsemdiver)
a better way to write this?
 
I've been learning for a while and was asked to do this program which I did but I feel like it could...
[9 replies] Last: Since you always treat highway as a string, why not enter it as a stri... (by dhayden)
Output in a different format
 
Hello. I'm pretty new to programming and I have some trouble figuring out why I have the wrong outp...
[4 replies] Last: Hello johannes67890, You are welcome. pytagoros.h (Really wanted t... (by Handy Andy)
need help reading this code
 
so here I have a function that should output the data of a file. the function's name is printDataNum...
[2 replies] Last: out writes to whatever std::ostream derived object you provide a r... (by andywestken)
how to include iteration variable in string wich in turn is used to call a function
 
I tried many google finds about int to string, sprintf and other but I did not manage to get this wo...
[2 replies] Last: Thanks! I got it working great now. Will continue my Plural C++ cours... (by JoopSiroop)
by sparki
(Urgent) Rotation about a point of origin by no.of sides
 
Hi, So I have been given a number of sides, which is 4, then I have also been given an origin point,...
[7 replies] Last: I'll repeat: ¿where do you even set the coordinates of the vertices? ... (by ne555)
by xidiot
Need to replace the stream functions with other, simpler. Need to replace getchar, cin.putback
 
Write your question here. #include <stdio.h> #include <iostream> using namespace std;// чт...
[7 replies] Last: ty boys!! (by xidiot)
by Ema00
File handling in C++
 
Hello, Can someone please help me with the file because when I execute it and open the file the for...
[7 replies] Last: Then I suggest you stick with plain text files, possibly something lik... (by jlb)
by xidiot
Hello, need to remove the flow functions and replace them with functions c i / o
 
Write your question here. #include <stdio.h> #include <iostream> using namespace std;// чт...
[2 replies] Last: Ok i just reformulated the question (by xidiot)
File Handling hospital management c++
 
Hi can anybody help me what i did wrong. I have added doctor information and now i just want to see ...
[3 replies] Last: Hello HS05669, Sorry for the delay. My computer did a restart a coupl... (by Handy Andy)
by Mif
Need help with a custom Dialog Box..
 
Hello.. I created a custom Dialog Box that has a message and 2 buttons typically to the a quit mes...
[1 reply] : Got it.. deleted the WM_Destroy case and the SendMessage((HWND)hClose,... (by Mif)
by Mif
How to show custom cursor over the status bar?
 
Hello.. I wonder how to make my custom cursor visible when I pass over the status bar? I know how...
[1 reply] : My status bar is created on the WM_CREATE at the run time: case WM_... (by Mif)
I need help with my intro to C++ assignment
 
NOTE: This is a long post. I have an assignment for my intro to C++ class where I need to calcu...
[3 replies] Last: I agree with the above post. The tax indicated .1, .2, and .3 are 10%.... (by soapbar)
while loop help
 
Hi. I'm working on this assignment where I have modified this knock-off version of the Angry Birds g...
[2 replies] Last: Ahhhh this helped me so much! In the back of my mind, I knew I might n... (by fruhtie)
by sparki
Types do not match(Urgent)
 
Hi, why do the types in my codes not match? And how may I resolve this issue? Is there anyway I coul...
[8 replies] Last: It makes type mean the same thing as T::Type , in the current scope... (by MikeyBoy)
helpp meee
 
help me with my assignment. The renting car company asked you to develop a program that will calcul...
[5 replies] Last: Hello lexyyy98, Now that I have had the chance to run the program mos... (by Handy Andy)
by GonlyG
point to segment distance program having problems
 
problem: given N amount of x1,y1, x2, y2 and xp, yp, try to calculate perpendicular distance between...
[7 replies] Last: [quote=keskiverto]You were less paranoid in perpendicular case. ;) Ah... (by lastchance)
Check if STD::map key and value are a certain type
 
I have a std::map<std::string, std::shared_ptr<LaunchData>>. How can I check if the map passed into ...
[1 reply] : How can I check if the map passed into my template method holds a str... (by mbozzi)
June 2020 Pages: 123456... 12
  Archived months: [may2020] [jul2020]

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