Beginners (Page 90)

Dragging an fl_arc into position
 
I have modified some code from the internet: //fltk-config --compile freedraw3.cpp #include <FL/F...
[3 replies] Last: Okay I just spent two hours compiling your code. Turns out on my arch... (by kevinkjt2000)
Using reverse function and removing whitespace for a set amount of information from a txt file
 
I need to find a way of reading in the last 6 lines of data from a file. For example if I have 1 ...
[12 replies] Last: There is a more compact way for that: const auto count = std::min( 6,... (by keskiverto)
by Deeler
method with temporary vectors doesn't take last element
 
Hello, I've written a function which should for some class with Tekst_ vector in which there's lin...
[2 replies] Last: Thanks a lot. (by Deeler)
Problems with error check
 
i'm having problems with the error control, can't figure out why it doesnt stop, and sorry for poor ...
[2 replies] Last: isdigit() tests a character not an integer. It tests for an ASCII repr... (by tcs)
List iterator not incrementable, enhanced for loop
 
I am trying to fiddle with lists and the .remove, but when it removes something it crashes the progr...
[1 reply] : I don't know your bullets type. But usually an iterators code depend... (by tcs)
Array is malfunctioning after do loop
 
I am trying to create an Airplane Seating reservation program. The whole program is working fine but...
[7 replies] Last: I repeat my previous comments: [quote=Golfer22]The array Seat will... (by AbstractionAnon)
Noob mistake
 
Umm yeah I have probably the most rookie mistake been learning c++ for a 2 weeks now need help with ...
[2 replies] Last: Thanks i am a rookie 2 weeks in now I know all the basics just need to... (by Blackhart98)
Evaluating function return type at run_time
 
Hi all, am working on a console application and i really need some help,i made a class that totally ...
[4 replies] Last: Ooh thank you very much @JLBorges though I haven't read about boost an... (by andy1992)
by aggsyb
Comparing two strings for characters
 
Hi, Im guessing this maybe uses regex or an iterator or something? but just wondering how I would b...
[1 reply] : This can be done quite easily without using the <regex> library. But... (by JLBorges)
Array Shift function [Help Needed !]
 
Write a function void cycle( double * array, int length) The function should move the v...
[4 replies] Last: ahh Thanks for the term. any recommended good video tutorials on this... (by FootyInc)
Doubt in call by reference function
 
I have just learnt how to write a function....... but when I tried to make a two player battle fu...
[4 replies] Last: thank you... But can we use (Player player1, Player player2) I t... (by programmer007)
Difference of standards & Which one to use it?
 
Q1. What's the differences between: #include <iostream> & #include <iostream.h> I'm confus...
[1 reply] : I suggest you stick to standards only, .h are depreciated in c++ exc... (by andy1992)
File to array is not working
 
Hello, I'm trying to put the content of my file into an array and then cout it. But for some reaso...
[8 replies] Last: Thanks a lot mate! That was exactly what I needed! :D You were an awes... (by Nielyboyken)
by h4ever
how to get char array position from token
 
When I run this code and break it on the last line, I want to see position to which the pointer "tok...
[3 replies] Last: Do you know, that is is C, not C++? Also, you are not doing what I did... (by bugbyte)
'If' statement confusion
 
Hi everyone, new to the forums here - as well as coding in C++. Trying to make the old favorite nu...
[2 replies] Last: Thanks man that's done it. And I wasn't aware of that, I'll try and st... (by Dowhnbeat)
pointers exercises
 
can someone give me exercises on pointers? or give me a link i was implementing my game with poin...
[6 replies] Last: @MiiNiPaa second is to be mutable non-owning references to objects o... (by Lorence30)
by anhnha
Format data using format string 'pszFormat'
 
Here is a section code in cstring.h to format data. It seems to be very complicated for me (just kn...
[7 replies] Last: Thanks for the reply! Variadic arguments allow a function to accept an... (by anhnha)
Debug" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
 
I am working on a project in C++ but I am having some difficulties. When I try to build/compile my p...
[1 reply] : What IDE are you using? Are you sure the compiler is installed? (by Peter87)
Sorting letters in a string/ comparing strings
 
Hello Guys! Super Beginner here! I just want to ask about sorting letters in a string. So below is t...
[2 replies] Last: Ok Joe. I'll message you my code tight after I revise it. Thanks and G... (by Ishan23)
by Deeler
Getline gets 2 words at a time while searching for ' '
 
Hello, I've got problem with getline(), I'm trying to load all words to vector from a file. ...
[3 replies] Last: inf.txt: w - 199 r - 114 o - 111 n - 110 g - 103 ; - 59 //discard ... (by anup30)
Pages: 1... 8889909192
  Archived months: [dec2014]

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