Beginners - April 2020 (Page 13)

No NEXT in <forward_list>?????
 
Why is a quick easy <NEXT> member function not explicitly part of the forward_list implementation. Also, no c++ reference sites or the isoc++ page enumerate a ...
[3 replies] Last: I was hoping to find a class member function to the forward_list or t... (by mbozzi)
How do I check if a user inputs the wrong value?
 
Hello, I'm new to C++. I've learned the very basics of C++ and want to start working on more complicated codes. How do I update the code so that if the user...
[6 replies] Last: Hello SweatyCoder, I had to step away from the computer earlier and l... (by Handy Andy)
count won't display correctly
 
This isn't the finished product, but I need to read a file and the file has numbers in it, but i need to count the numbers that are between the values of 60 and...
[2 replies] Last: EOF is always a negative integer, usually -1 . if (-1) means if ... (by dutch)
Error when loading int and strings from .dat file
 
So I'm trying to load account information for a banking program I'm attempting to make. Every time I run the code I get thi serror message: Unhandled exceptio...
[10 replies] Last: I was using a sample project on a banking system that I found on the i... (by Jsanchez97)
Using new in C++
 
Hi all. Does new allocate extra space the size of what's in between , or does it remove the previous space allocated and "resize" it to only the space between ...
[2 replies] Last: c++ is a hands-on language; it does not garbage collect** or attempt t... (by jonnin)
by hbcpp
Trying to use Mega C++ SDK
 
I am trying to use this C++ SDK https://github.com/meganz/sdk At first it seemed pretty straightforward, just add the megaapi.h header and start using it, bu...
[2 replies] Last: @Ganado thanks, I tried that but couldn't build it because of a missin... (by hbcpp)
why inner nested try block doesn't work?
 
I wrote code with a nested try block, but I don't know why the inner try block doesn't work, and the compiler doesn't show me any errors, it compiles the code b...
[5 replies] Last: @salem c @handy andy , thank you (by aminkhormaei)
help
 
how do i make to put the int "acumulador" on here? : do{ fflush(stdin); archivo<< <<endl; archivo<<"=========="<<endl; cin>>rpt; } it give's me an error her...
[3 replies] Last: https://www.w3schools.com/cpp/cpp_function_param.asp (by Repeater)
how to do loop?
 
how to get this loop running using the printf and scanf function Volunteer 1 Enter Distance Travelled (km): Travelling Allowance(RM): Any more volunteers ...
[1 reply] : Like this int volunteer = 1; char again; do { ... scanf(" %c", &... (by salem c)
by acryd
Commands CMD to c++
 
hi, I was looking for a way in c ++ to run the tasklist command of the cmd and then save the result in a string, so as to search within the string for a program...
[3 replies] Last: It’s actually pretty stupidly easy to do with the Windows API. There... (by Duthomhas)
Tic Tac Toe Program w/ 2D Array - Help Needed!
 
If someone could help me sort this out I would be extremely grateful! I am trying to put the finishing touches on this Tic Tac Toe program using a 2D array and...
[4 replies] Last: > playerWins() returns "true" if the player has won What does it retur... (by salem c)
Starting Project in Visual Studio
 
Can anyone help me (or point me to a tutorial) on how to start a project in Visual Studio. I understand compiling in C++, creating a "Make" file, including lib...
[7 replies] Last: right-click the project tab, to create a source file. From the Menu... (by deleted account xyzzy)
Missing Something Obvious
 
I have a simple Windows program that I got from a tutorial. It's a basic message box. However, when I try to compile it, I get error LNK2019. I must be missi...
[4 replies] Last: Thanks. That fixed the problem. Took a bit of looking though. In my... (by anachronon)
How to fix redefinition of formal parameter
 
Hello all I hope you are doing great, I am a new to Programming and decided to create a bool function for Armstrong number, however I don't quite understand the...
[4 replies] Last: int origNum, num, rem, sum = 0; bool Armstrong; num = origNum; orig... (by jonnin)
How to reiterate the loop
 
Hello everyone, Before I posted here I did try to find help on the topic to no avail. I am trying to reiterate the if-else loop where my code asks for stu...
[8 replies] Last: thanks @bevilman gave it a try and it works, Interesting.. Thank you s... (by jamiprogrammer)
array function call problem
 
can't figure out why my case 2 will not simply print the arrays i read into from a text file. any suggestions? movies.txt Wizard of oz 1939 Deadpool 2016 ...
[3 replies] Last: Hello bigskit13, I am glad it works for you because it does not work ... (by Handy Andy)
Creating a 3D Object
 
Hi.. I am trying to create an object. But it does not show up... I am using Firemonkey, FMX, C++ Builder. I get no errors, and when I hit Button1 again it sa...
[5 replies] Last: Okay... I found a solution... using the TProxyObject TProxyObject* TS... (by PAS2020)
by Chad9
arrays [left neighbour ]
 
I dont know how can i find out left neighbour. this is the part of the task: - The last product - as a used meaning for the predisposing elements of its arrays ...
[5 replies] Last: Hello Chad9, [quote=Ganado]Part of programming is being able to commu... (by Handy Andy)
Help Needed - Dictionary System
 
Hi guys, I'm new to C++ and was given an assignment to write program that will parse the dictionary file (dictionary.txt). It will load each record from the fil...
[6 replies] Last: Use true and false instead of numbers so that you can actually see wha... (by zapshe)
Graphics Programming Options
 
Hi everyone reading!, Since this is my first post let me start by introducing myself real quick. My name is Will and I am a pretty new dad to two awesome li...
[3 replies] Last: GPU processing to do simple things like rotate/flip/mirror/etc is insi... (by jonnin)
April 2020 Pages: 1... 1112131415... 20
  Archived months: [mar2020] [may2020]

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