General C++ Programming - February 2016 (Page 11)

reversing char array
 
so im suppose to open a file, create a char array and use getline to read lines from the file and pu...
[2 replies] Last: You are printing data immediately in a function so you can only do som... (by naaissus)
Parsing Command-Line with Options
 
I understand the basic idea of parsing parameters, but I do not understand how to convert the string...
[1 reply] : Why is the variable static? Anyway: You set the variable to true when... (by coder777)
operator precedence
 
Can anybody explain (step by step) to me why the following program output 8? I was expecting 3 as th...
[4 replies] Last: thanks a lot Peter (by khizaryz)
all permutations with repetition of vectors of strings.
 
Hi all I am trying to convert this loop that work exactly as I need on chars of strings. void Pe...
[2 replies] Last: @JLBorges Thanks again for your help with the last two questions I ha... (by Bdanielz)
Dynamic Array
 
Hey guys, I need some help here. I think most of the required code is finished, but I'm struggling t...
[15 replies] Last: It was obviously wrong to me, but I didn't understand why. You were ha... (by WakeofMisery)
by BaluT
WMI: Call to Put(..) fails with mismatch
 
Hi, I am trying to use the WMI removeResourceSetting() method of Msvm_VirtualSystemManagementSer...
[1 reply] : Tried with the following but no luck. Any suggestion. IUnk... (by BaluT)
running the program takes up space in my c dive
 
Hi guys, i am a student learning computer programming currently using visual studio. Everytime i ...
[8 replies] Last: anyone else know? sorry i am urgent cause i need to use my computer on... (by firedragon1)
Reverse Polish Stack Help
 
I have to create a Reverse Polish Stack that's managed or maintained by a linked list. I have done q...
[9 replies] Last: My questions are: How would I use this new object, call the construct... (by TheIdeasMan)
by Kyle M
Recursive Palindrome
 
I am trying to finish my program and it keeps saying that it is a Palindrome or it is not all the ti...
[13 replies] Last: Thank you very much! It works great. (by Kyle M)
Pass by value VS Pass by reference performance TEST
 
Hello. Look at this code: #include <iostream> #include <conio.h> #include <time.h> usi...
[9 replies] Last: You might not be timing anything at all. Since neither function does ... (by dhayden)
How to copy one array to another incrementally
 
My goal of this function is to incrementally load packages(integer elements) onto each truck loadspa...
[2 replies] Last: Please use code tags. If you have a question, please ask it. (by dhayden)
Need to make a word separator! PLEASE HELP
 
Hey guys, I need to make a program for HW, I've been on it since yesterday I can't seem to figure it...
[14 replies] Last: Nice, I'm jealous haha. I just started programming, its interesting bu... (by jspence300)
C++ and files: input operation doesn't work
 
Hello, see this code: int main() { fstream myfile; myfile.open("test.txt", ios::out | ios::in |...
[9 replies] Last: Ok, I'm sure you've got this understood by now. I just wanted to add t... (by Chervil)
by tnt980
create function that finds base log
 
i need help im not getting the correct results /* * File: main.cpp * Author: Guest * ...
[3 replies] Last: its not giving me correct math Make sure that the prompts: "Please... (by Chervil)
by Zibux
Hi can you help me im getting 2 errors
 
Erors http://imgur.com/BHZEGyo Project https://failiem.lv/u/3rsybspw#_
[8 replies] Last: I fixed it dll injector works perectly fine But now i wanted to make ... (by Zibux)
copy constructor problem
 
int main() { Student *s1, *s2; s1 = new Student (3); s2 = new Student (*s1); s1->print()...
[3 replies] Last: Because s1 is a pointer (Student*) but the copy constructor expects a ... (by Peter87)
My new library
 
I have just opened myself a nice little site called mattcpp.boards.net and there i have my own custo...
[no replies]
Keep getting error!
 
Thanks
[2 replies] Last: than you , that was stupid mistake. (by curiousfloridian)
Airplane Reservation
 
Help! I can't see what's wrong in my program I just put a part of my program in a function then the ...
[no replies]
Player account creation! Help please
 
Alright im what we call a beginner programmer. Im trying to write a program and having issues wit...
[2 replies] Last: Thx for the links ill get to reading right now. Cant wait to learn (by DestLuck)
February 2016 Pages: 1... 910111213... 21
  Archived months: [jan2016] [mar2016]

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