Beginners (Page 3)

Taking in Two C-style strings and placing it into one 2-d array?
I have an assignment where we need to place two words (separated by a space) into a 2-d array. Since...
[1 reply] : Please edit your post and make sure your code is [co de]between cod... (by LB)
Reading different things from textfile
I want to read both a string and an integer from a file. This is the general format of the file: ...
[5 replies] Last: good to know, I allways wondered if it works like that but I was allwa... (by Gamer2015)
Aggregation and Composition with Pointer Obj
Why do we use "*" here ? Linea::Linea(const Linea & obj) : inicial(new Punto(*obj.inicial)), fina...
[4 replies] Last: Peter87, thanks for your help, time and detailed explanation. (by CJM0929)
Function is not updating data and program goes in an infinite loop
I am a newbie and quite new to programming. I am trying to update records in a binary file. I progra...
[2 replies] Last: Check the return value at lines 21 and 30. My guess is that one of the... (by dhayden)
by JockX
Combinatorics algorithm for pairing
This is more a general algorithms questrion than strictly C++. I guess the answer is a simple nested...
[2 replies] Last: That's it. Thanks a lot! (by JockX)
by sariki
Recursion through links list in reverse
Hey everyone, So I have the recursion part down pat! Thanks to everyone who has helped me out over t...
[7 replies] Last: Line 18 has logical error. Why does reverse() return a pointer? Why... (by keskiverto)
using enum
hey der in sfml 2.3.1... i want to use 3 keys in keyboard for the same code below does ...
[1 reply] : You generally should not use isKeyPressed , instead you should listen... (by LB)
Wifi connecter
Hello! I want to make a program, what can connect to my wifi. There are wpa2psk. What kind of comma...
[1 reply] : Hello, please be more specific. I'm assuming you want to create a prog... (by usandfriends)
by Don12
What is the ~ used for?
I am currently reading a book on coding and they use ~ quite often without ever explaining what it i...
[3 replies] Last: If it isn't explaining even that, then its probably not a good book. (by Arslan7041)
What software should i use to program in c++ language.??
I am using Turbo C++ V4.5 (TCW) If I am not wrong ! But while making some programs of "Queue" It sh...
[5 replies] Last: Thank you guys what I infered from your expert advices is that good ha... (by Arya Giri)
Agument to constexpr functions (1,2)
Hello, I'm new into programming and I started to learn about it using the book : Programming princip...
[21 replies] Last: For example, if it were allowed, this would be well-formed program on ... (by JLBorges)
by bgmnk
Why does this not calculate right?
This is a piece of code that I found that doesn't properly calculate the way it should. Why is this?...
[3 replies] Last: So many problems beginners have which involve simple math calculations... (by Michael5)
by Jon15
Passing variables by reference problem
I am having a problem understanding and implementing pass by reference with my function showDegreesK...
[15 replies] Last: Thanks for the help everyone (by Jon15)
Problem of getline(cin, <string_name>) in class
Hi everyone, nice to meet you~ I will be very grateful if you help me. these are my following code ...
[1 reply] : C++: Console User Input Done Right (by FurryGuy)
by suzuka
What is Difference Between C++ and Visual C++
Please clear the difference between C++ and Visual C++. It is confusing me. And should be learn Visu...
[7 replies] Last: What is the difference between C ++ and Visual C ++? - http://stackove... (by FurryGuy)
by paler
problem in passing by reference
Hi all, I have a weird problem in my code. First let me share a snippet of my code as below. tem...
[2 replies] Last: @cire Thanks for your reply. Yes I changed to x.size()-1 and now it ... (by paler)
Debug assertion failed: Vectors iterator incompatible
I'm using VS2013 to work on this program. I'm not using OOP (I'm not coding any classes) so my objec...
[6 replies] Last: You shouldn't need a special case for the last element, try to provide... (by ne555)
by paler
how to switch between different type?
Hi all, I have a simple question. In a jump condition, how can I switch between types? For example...
[8 replies] Last: IIRC, in Eigen a Vector is simply a Matrix where one of the dimensions... (by helios)
Dev C++ Help!!
Write your question here. hi guys. i need help with my dev C++ programming. i'm suppose to create a...
[5 replies] Last: If there a reason why this program has to be written in C? C++ string... (by FurryGuy)
by Winsu
The current directory is not valid
I have written a code and when I compile it, the compiler launch this"the current directory is not ...
[no replies]
Pages: 12345... 61
  Archived months: [jun2015]

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