Beginners (Page 2)

I need help with my intro to C++ assignment
 
For my assignment I have to write a program that creates a restaurant billing system. I think that I...
[5 replies] Last: @OP as mentioned you also haven't made provision for entering the numb... (by againtry)
Create a MENU using Switch,If-else if, goto (1,2)
 
Hey lads, As you know I am only at the beginning so don't judge me too hard. I have to write a cod...
[22 replies] Last: Here's a couple of points to consider: - line 3 and 9: where are thes... (by againtry)
string question, format
 
Hello I am following the plularsight c++ tutorials, and I am on the one about strings, but I have ca...
[4 replies] Last: Thank you, the example helped me understand this. (by DonnaPin)
Division in C
 
Hello, If I use (5/9) or (9/5) instead of 0.55 and 1.8, I have different output. What's the pro...
[2 replies] Last: You can try this: (float)5/(float)9 Or this: 5.0/9.0 ... (by Hezigon)
by Tima11
if statement doesn't work correctly
 
I'm new to C ++ and in my script to change the keyboard. For example: I press q and the program outp...
[10 replies] Last: Thank you at all! I will know. (by Tima11)
Maximum odd and even value & Minimum odd and even value
 
Hey guys, I have to write a code which will calc. which is the Maximum odd and even value & Minim...
[4 replies] Last: much better :) goto is better avoided when a loop will do -- it is al... (by jonnin)
Complexity of Recursion
 
I watched videos about the time and space complexity of the recursive function but I can't find why ...
[3 replies] Last: complexity analysis is a useful tool to get a general sense of how eff... (by jonnin)
by Mif
How to handle multiple WM_NOTIFY cases ? (1,2)
 
I have 2 List view controls and I need to send the VM_NOTIFY for both of them.. The program compile ...
[23 replies] Last: Let's say I just let the case notify like this: case WM_NOTIFY: ... (by Mif)
wrong spelling??
 
it complies with no error but after the user input of file name I get this error " terminate cal...
[10 replies] Last: thank you all for the help, i got it to work as it should be (by pnwadike99)
printing 2d dynamic array + pointers
 
the first function is given by the professor and should work properly, but i get seg fault. the sec...
[3 replies] Last: thanks, people! those mini-lectures actually worked and were easy to u... (by gongong)
[SOLVED] Issues doing math with functions.
 
Thanks for all the advice, I changed my functions from void type to int type and that fixed the issu...
[5 replies] Last: What do you mean that the function returns nothing? The two function... (by zapshe)
How to write classes with generic functions that accept parameters of different types and inherit from a base abstract class?
 
In my project, I need to have a base abstract class with an interface, which derived classes impleme...
[2 replies] Last: playing around with multiple dispatch #include <cstring> #include <io... (by ne555)
Need assistance with this exercise...
 
Hello everyone! I'm doing an exercise where I have to write a program that will suggest a subscri...
[2 replies] Last: Hello BennysMaria, Looking over the program at this point I see no us... (by Handy Andy)
by mnnsa
math problem
 
please help me how to approach this problem A(x) and B(x) are 2 functions . A(x)= Number of i whe...
[13 replies] Last: Now we could forget the A and write just the B: unsigned int B( unsig... (by keskiverto)
by alexas
help with constructor function
 
Hello, I am using a library in which the following constructor is described: static_assert(...
[5 replies] Last: Here's the library: https://github.com/ferd36/quaternions (by dutch)
what are streams?
 
Hello, I am trying to get my head around the concept of streams. I have a hard time grasping the con...
[7 replies] Last: I have a somewhat different interpretation of streams. istream and os... (by dhayden)
How do I append 3 more integers in a text file?
 
I'm doing my homework for computer science class. I'm stuck on this particular problem. It's aski...
[3 replies] Last: When you get the append function to work, try running the program with... (by dhayden)
Get-Attribute
 
Write your question here. Hi all, I've been trying to code a function that will return the attribut...
[1 reply] : C++17 has filesystem library. Permissions: https://en.cppreference.com... (by keskiverto)
Issue with file
 
Hi guys, I'm currently attempt to write output on a file but overtime I do the address never show...
[4 replies] Last: This is perfect thanks Salem! (by kdrewes)
Problems of Replacing a string in txt file
 
Right now I am planning to replace the name if the user enter a correct ID. However,it create a new ...
[11 replies] Last: Line (upper-case L) and line (lower-case l) are two entirely diffe... (by Furry Guy)
Pages: 1234... 15
  Archived months: [may2020]

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