Beginners (Page 18)

vending machine using strusctures
hello so my coding prompt is "Write a program that simulates a soft drink machine. The program ...
[16 replies] Last: Hello mercedx, Good job. Glad to hear it. Andy (by Handy Andy)
Please Help!!
Hey guys- I wrote this code and am completely lost :( I can not use any arrays or vectors. Any hel...
[10 replies] Last: Hello koaken, That is some improvement. At least it compiles with no ... (by Handy Andy)
by opisop
Need advice/tutorials transitioning to modern OpenGL(3.3+), preferably SDL2-based.
I have been using SDL2 and started tinkering around with OpenGL tutorials on the web a while back. I...
[8 replies] Last: Thank you for taking so much time to explain all of these things to me... (by opisop)
error::'item' does not name a type
i have this problem (error::'item' does not name a type) and i cant figure it out.If you can help me...
[5 replies] Last: I can't say for sure, why not try it out and see what happens? Experim... (by Ganado)
Compiler error any feedback helps
New to C++ and i am having a little trouble with this problem I feel like i'm declaring the variable...
[4 replies] Last: thanks for the info guys really clarified everything and program runs.... (by starterpack6100)
C++ Tutorials
I am running Ubuntu MATE 19.04 and i like using the command line. I have been looking around for upt...
[2 replies] Last: this may help. a compile batch file for simple gettng started programs... (by jonnin)
Constructor Help
I need to add a constructor to this code, but I don't know how, even after looking it up. The code d...
[3 replies] Last: srry ive been in other classes. Thats a great idea, repeater, I meant ... (by Eristato)
Can you bring law and order to this piece of code?
- case credit, debit - } - enum Card: String { - var description: String { - return self.rawValue -...
[2 replies] Last: It's Swift. (by Ganado)
please help with this code
#include <iostream> using namespace std; int main() { int test = 0; cout << "Fir...
[3 replies] Last: Really, you ought to just avoid using different types that might have ... (by Ganado)
Need assistance regarding accessing the private function
Hi, I need to ask about accessing the private function, which I am unable to do after multiple at...
[9 replies] Last: @lastchance, Thanks so much dear... :) Your solution clarified my con... (by zarrar12)
by GonlyG
Can't read in multiple lines
I'm trying to read in a number which is how many lines of input I have (each line is three strings),...
[4 replies] Last: Hello GonlyG, Here is the answer to your problem _ ... (by Handy Andy)
Help with Programming (1,2)
Write your question here. Brand new programmer in a class and could use all the help I can g...
[21 replies] Last: What exactly does the text file you are trying to read contain? 88, 90... (by Manga)
by opisop
How to instantiate an object in a try block, but keep it in scope? (1,2)
What I have is a class with some various if statements in the constructor that test conditions and t...
[22 replies] Last: No apology needed. I think it is interesting to read all of the commen... (by opisop)
how to display photo
i want to show a photo in my graphical interface, while the program is still , but the photo is not ...
[3 replies] Last: i want to show a photo In case it is for nothing else but to dispaly... (by MikeStgt)
question about reinterpret_cast
Hi everyone, in this piece of code, ch is a pointer that points to a character. I understand that *c...
[2 replies] Last: but why ch the pointer itself is also A? Shouldn't it be the memory a... (by Ganado)
Need advice
Hye everyone! So I have covered Structures, object oriented programing etc in the second semester. N...
[3 replies] Last: Thanks! (by lost110)
error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
I want to change the characters in a string passed by user, converted into a C-style string and pass...
[8 replies] Last: #include <cctype> #include <iostream> using namespace std; void func... (by lastchance)
Dragging circles
I am restructuring my code as I was told; now I want to drag and drop my drawn circles as follows: e...
[1 reply] : I am concerned that you are still struggling with this. I think you ar... (by Duthomhas)
by GonlyG
string .erase getting rid of vector element
I'm trying to use code from stack overflow to get rid of dashes from multiple strings that I input, ...
[5 replies] Last: it has to emulate a circular array, but I'll try split (by GonlyG)
How to emulate a string with char array without oversizing?
I am sure it is possible, but I can't think up of a better idea than malloc ing recursively, withou...
[5 replies] Last: These points come to mind on this subject: A few strings with over-al... (by Niccolo)
Pages: 1... 1617181920
  Archived months: [may2019]

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