Beginners - August 2016 (Page 17)

can you """code out""" characters like the blocky ones like in the old games where the char is all blocky
 
Can you code out those little characters like in old games you know like those blocky ones but small and control them or something... Yeah this is pretty...weir...
[3 replies] Last: Ohhhhhh..thx:))) (by closed account iz8p4iN6)
Yep I don't actually get classes and objects omg!!! (Pretty hard to get:()
 
Hi I'm q beginner in c++ and omg I just can't get the classes and objects and all the other stuff like all of it... Yeah plz help
[3 replies] Last: Ok thx guys I think I got it :))) thx for helping:))) (by closed account iz8p4iN6)
hOW TO SEARCH STRING BEYOND STRING
 
I am given a list of 30 names and I'm require to write a program to allow user to search by word/words.. For exp: John Michelle Michael . . . . . . ...
[5 replies] Last: Here's a start in searching in strings: #include <iostream> #include... (by closed account E0p9LyTq)
by loni
Text to speech tool
 
Hello, I'm looking for some good, free, not too robotic, and easy to use Text to Speech tool. If someone have deal with this libraries, maybe you can help me ...
[no replies]
Input is not valid until y,Y,n,N is inputted
 
#include<stdio.h> int main () { char x; printf(“Input a letter:”); scanf(“%c”,&x); while(x!=‘y’ || x!=‘Y’ || x!=’n’ || x!=’N’)...
[4 replies] Last: #include <stdio.h> #include <ctype.h> int main () { char x = '\0'... (by closed account E0p9LyTq)
Nested Loops
 
I am relatively new to C++ (although I've done a fair amount of programming in Visual Basic). I have always found that one of the best ways of learning a subje...
[7 replies] Last: #include <iostream> #include <fstream> #include <string> #include <cc... (by closed account 48T7M4Gy)
Code Review of Hangman Game
 
Hi all. I'm new to the forums, and have been working on this game for awhile. It works fine, but I feel like I could improve on it even more. For now, however, ...
[6 replies] Last: ...... and I've been recently updating and trying to write my code to... (by TheIdeasMan)
How to make a struct accept an initializer list
 
Hello, I want my mValArray to accept initializer list. But I don't know how. mValArray<int> val = {1, 2, 3, 4, 5}; // Complier error Could anyone...
[2 replies] Last: @Thomas1987 Thanks. This helps me a lot. (by Naughty Albatross)
2D array of objects without double pointer
 
I dont like using double asterisk. Its too ugly and unreadable if I have GameEntity* bricks ; How can I initiate it on the constructor?
[15 replies] Last: @TheIdeasMan It is my first time using std::unique_ptr. Tell me if the... (by Naughty Albatross)
how to recompile dynamic libraries of qwt and qscintilla2 by linking it to static libraries of libQtCore.a and libQtGui.a
 
I have dynamic libraries of qwt and qscintilla and If do ldd on both shared libraries 1) ldd libqscintilla2.so libQtGui.so.4 => /tools/linux64/qt-4.6.0/li...
[no replies]
by roots
Unknown override specifiers
 
last name and first name are "unknown override specifier's"...what gives? I can get this to work without the header. #pragma once #include <string> struc...
[1 reply] : Move line 19 using namespace std; below line 2 #include <string> ... (by closed account E0p9LyTq)
by punani
bus seat reservation program
 
For my assignment, I need to create a program that will allow user to reserve a seat in one of two bus (one smoker and one non-smoker). There must be a menu tha...
[5 replies] Last: "Studying" is one of the most important parts of learning a new langua... (by kevinkjt2000)
The newline difference between text file and console
 
Hi guys, i know that newline character in text file is 2 bytes which is CR(\r) and LF(\n). But why does the program read it as 1 byte only? int main() { ...
[4 replies] Last: Well, thanks. I'm little bit curious, what should i write when i want... (by EricKantana)
loop
 
my program is not finished but every time i try to run it it only loop 3 time before it end but i want it to loop as many time as user wants and if the user wan...
[1 reply] : Welcome to cplusplus.com! Please use code tags when posting code http... (by kevinkjt2000)
by roots
Number never found
 
The number is never found. I'm not sure what the deal is here. #include <iostream> #include "Header1.h" #include <iomanip> using namespace std; in...
[3 replies] Last: I see. I've got to work on thinking logically. I seem to make logic mi... (by roots)
can someone translate this for me
 
Looking through some cipher code and I was hoping i can get a better understanding of this equation; if (ch >= 'A' && ch <= 'Z') //If the character is in the...
[1 reply] : This is the Caesar encoding of uppercase and then lowercase characters... (by closed account 48T7M4Gy)
wierd output on input validation
 
I decided to try and put some input validation in a loop that would add elements to a vector until the user inputted an EOF flag. everything seems to work fin...
[2 replies] Last: gotta love simple mistakes like that lol. thanks (by MetalDesign)
by WhatIf
Record Separator RS 30
 
Hi, Is there a way to add Record Separator RS 30 to a string? For example, std::string records = getRecord(); records += 30; // ????????? ...
[1 reply] : records += '\x1e'; or records += '\036'; or records += (char)30; ... (by helios)
Macros in C
 
How can be the macro below modified to handle non-scalar types as well like struct test {int mint,char [16+1]} /* a macro swap(t,x,y) that interchanges...
[5 replies] Last: Could you please provide me with main als well so I can search for a ... (by cire)
by aloz
Can't simulate a simple "clock"
 
Hello, I'm trying to simulate a clock using only while statements.. I used this code in Python but when I do it in Borland C++ it's not very effective.. I'm not...
[3 replies] Last: C++ provides access to several clocks in the <chrono> header, system c... (by closed account E0p9LyTq)
August 2016 Pages: 1... 1516171819... 22
  Archived months: [jul2016] [sep2016]

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