Beginners - December 2019 (Page 2)

by asxxx
Reversing words
 
Hello, How can I reverse words in sentence? I try to do it with strtok. #include <stdlib.h> #incl...
[14 replies] Last: Err right! Glad someone's happy, even if it wasn't the OP! Belated Ha... (by lastchance)
Help! Hash map implementation confusion
 
Not sure if this goes in General or Beginners, but here goes. I am currently reading Professional C+...
[3 replies] Last: > Why is the type requirement CopyInsertable and MoveInsertable? > Wh... (by JLBorges)
C++ and other lang how to use both
 
A couple days ago I decided I was going to attempt to use a different language with c++ (specificall...
[15 replies] Last: I got you. I also learn some things in trial by fire fashion, just j... (by jonnin)
Im new, and my teacher dosent teach me nothing
 
Hi! my name is Tiago and i am starting a project at c, but my teacher dosent help me at anything i w...
[1 reply] : which cloud platform? Most do not do a lot in c++ and prefer scriptin... (by jonnin)
Sorting file contents with C++
 
Hello, I want to sort the content of my file. but write to file isn't successfully.(No changes to th...
[7 replies] Last: What have you tried? Do you know how to clear a stream error flag? D... (by jlb)
by ubaidm
Issue with class templates
 
Hi, i am quite new to template programming, and i am getting the Error "LNK2019 unresolved external ...
[3 replies] Last: Thank you both..! (by ubaidm)
How to reach array's elements from map?
 
Here is my codes; I have map and arrays like this; Array dayHours{0,0,0,0,0,0}; Array1 day{"Mon...
[2 replies] Last: map<pair<string,int>,pair<Array1 ,Array> > matchMap; You should use ... (by dhayden)
Issue with using iterators
 
I have the following code: struct Floe { int x{}, y{}, penguinsOnFloe{}, maxJumps{}, curJumps...
[8 replies] Last: tldr : the problem is the end conditions on both loops. You are try... (by dhayden)
Recording on one soundcard, playing on another (same box): am I guaranteed to run into drifting issues?
 
No two clocks run at the same rate. No individual clock runs at a consistent rate. So the question...
[no replies]
Return array with unknown size in C
 
Hello, How can I print all of arr? we don't know what is the array size. ( Line 42) #include<stdi...
[11 replies] Last: https://stackoverflow.com/questions/12992925/c-correct-way-to-return-p... (by againtry)
by B12885
Noob in need of help.
 
Hi I was wondering if someone could help me figure this out. I’m extremely new to coding. My firs...
[3 replies] Last: #include <iostream> #include <iomanip> int main() { float Purch... (by againtry)
by ema897
File reading
 
Hi! I have a problem with file reading. In particular, I have to find some keyword in text file a...
[12 replies] Last: PS This is the output of unfiltered words I get on my machine: keyw... (by againtry)
Check file exist with File Descriptor in C
 
Hello Guys.. is there a way to check ONLY if a file exist? I mean.. if((fd = open(PATH, O_CREAT...
[4 replies] Last: Or perhaps this. https://linux.die.net/man/2/access (by salem c)
by Bopaki
These errors are frustrating me
 
I am. Getting this error: Implicit error conversion changes (aka 'unsigned int') to int' Errors ...
[4 replies] Last: Hi, Bopaki. Very sorry for your laptop. I shiver to think what would i... (by Enoizat)
read from specific txt file
 
Hi guys. I got a problem. I need to read data from a txt file that I wrote. I have a student, clas...
[9 replies] Last: Add these methods to every class : istream &read(istream &is); ... (by dhayden)
Removing Pending IPC OBJECTS (System V)
 
Hello Guys.. i looked for an answare to my question online.. but nothing has been found.. Maybe beca...
[8 replies] Last: Thanks all guys! ;) (by vittorioc98)
by Bopaki
Copied program from textbook but getting these errors
 
implicit conversion changes signedness 'int' to 'size_type'(aka 'unsigned int') //Demo...
[5 replies] Last: I am using my cell phone at the moment since my laptop has been stolen... (by Bopaki)
Grading system with templates
 
I'm currently working on a project in which I'm able to enter in the grades of each class as well as...
[6 replies] Last: See http://www.cplusplus.com/forum/beginner/266668/ (by againtry)
What library graphics in console
 
Does anyone recognize which library my local weather station in the image below uses to create the g...
[2 replies] Last: Not likely a particular coding library. There are plenty of free tools... (by zapshe)
Getline doesn't work
 
Hello everyone! I am new to c++ and i am working on a program to practise string and getline, but un...
[6 replies] Last: Thanks. It worked! (by Mariyan)
December 2019 Pages: 1234... 13
  Archived months: [nov2019] [jan2020]

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