Beginners - June 2017 (Page 8)

by xxvms
Gcc
 
Hi there while I was playing with GCC version it turn out that version on my computer is with MinGW is 5.2.0 and when I installed Cygwin64 I am on 5.3.0 H...
[7 replies] Last: Thanks JLBorges :) I am trying to do as much as I can on all fronts. ... (by xxvms)
how to search a word in text file and print on screen
 
my question is simple .. how to program to search for a word in a text file that already exists ans if that specific word is found anywhere in the text the ent...
[14 replies] Last: http://www.cplusplus.com/reference/cstdio/rename/ (by Thomas1965)
Console Based c++ ASCII game in UE4
 
Hey guys I'm currently creating a 3D game in UE4 where the player will interact with a terminal at a part in the game. I'm hoping to have this interaction pop u...
[no replies]
Function for adding integers, that belong for the same string
 
Greetings, I need to make a program, that counts every integer, that belongs to the same string. For example, in my data file this is written: 5 town pa...
[8 replies] Last: Yet another way with arrays (unsorted). #include <iostream> #include... (by closed account 48T7M4Gy)
by rufi0h
Password verification with special characters
 
Hello, I have written a code for class that stats that i need to take a string of passwords and run them through a driver to make sure they are valid passwords....
[8 replies] Last: Rule of 3? #include <iostream> #include <string> using namespace std... (by lastchance)
Regarding GTKMM User Interface
 
Dear All, My name is Deepak. I am new to this group. I have enough basics in C++. I am developing a project for which I need to develop GUI that is Standalon...
[no replies]
by toklo
Linked List Problem
 
I'm having a small problem creating custom linked list. The List class contains an Iterator object and Iterator class contains List object. What do I declare fi...
[3 replies] Last: Those kind of errors occur a lot when programming with c++ and it is r... (by benhart)
TicTacToe_error
 
Hello! Our assignment is to write a TicTacToe game and determine if there is a win. Our proffessor suggested that we split up the "check for win" function into ...
[6 replies] Last: That's the second part: bool PC_algo_win_it(int array , bool used... (by andy1cplusplus)
giúp tin 4
 
#include <iostream>
[6 replies] Last: làm xong xoá topic ko ăn report =))) (by Remedy)
Arrays in a function
 
Hello everyone. I'm a newbie doing a distance schooling in basic C++ and I've hit a bit of a block with my last assignment. I am required to write a progr...
[7 replies] Last: Thanks for all the replies, its definitely helped me along and taught ... (by SerCabbage)
by jdeep
My code keeps crashing one line needs to be fixed
 
My code keeps crashing can someone fix it, it is from line 116. I put multiple asterisks where the problem is. #include<iostream> #include<fstream> #inclu...
[5 replies] Last: Hello jdeep, In all your functions except "getName" you are using sub... (by Handy Andy)
Need some help
 
Hello, im new to c++ and i want to know how to slow program down? I want to slow it down for couple of seconds. Any help is welcome :) #include<iostream> #...
[1 reply] : http://en.cppreference.com/w/cpp/thread/sleep_for (by gunnerfunner)
creating an object of a class
 
I am getting a no default constructor error, not sure on what I should change to fix this. #include "stdafx.h" #include <iostream> #include <stdlib.h...
[4 replies] Last: MikeBoy, it was only an example. A default constructor is a construc... (by Thomas1965)
find all numbers divisible by 5 and 13
 
write a program to find all the numbers between 1 and N that are divisible by 5 and 13 ( the program should accept ' N ' from the user )
[5 replies] Last: You have a semicolon after your "if" conditional. Take it out. Otherwi... (by booradley60)
by Arcy
Array of pointer-to-char loop.
 
Greetings, My question is about the specialisation at the very bottom. I am trying to take an array of pointers-to-char and the number of pointers as argum...
[4 replies] Last: Thank you for your help. :) (by Arcy)
getline
 
i am using a getline method to get the values for the dynamic array. however when i print the output all the values of the dynamic array are zero ?? # inc...
[7 replies] Last: i don't understand why i has to be within the bounds of size. this c... (by integralfx)
by TheArk
STD
 
Every post I have posted thus far, everyone responds with code that enacts std prior to entering each function. I am new, and in a CIS intro course, and they ha...
[2 replies] Last: Awesome. Thanks! (by TheArk)
by ATh
Vector subscript overflow issue while retaining vector elements
 
Any time program runs through line 42, 43, 44 i get vector subscript over flow error,it throws exception invalid parameter passed in function. I was trying to r...
[4 replies] Last: Thank you for sharing your knowledge, i will work on it and update if ... (by ATh)
by TheArk
How to use setw
 
Hello, I have been trying to use setw with no success, have been reading the forums and they all seem to be saying something similar to this, however no matter ...
[11 replies] Last: Hello TheArk, The value of the "setw" in line 14 will have to large e... (by Handy Andy)
by TheArk
setw
 
I am trying to create columns. The code setw works for the first 2 outputs, however on the third output it does not effect that text at all, while the code is t...
[1 reply] : The width()/setw() manipulators will only add "spaces" when the variab... (by jlb)
June 2017 Pages: 1... 678910... 16
  Archived months: [may2017] [jul2017]

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