Beginners - November 2015 (Page 30)

finding neighbors of a cell in 2d-array
Hello everyone, I'm having trouble with finding the neighbors of an 2d array. I know where the code fails, but I can't figure out how to fix it. Here's the...
Nov 14, 2015 at 6:57pm
[2 replies] Last: Thank you! (by Edward01)
upper to lowercase
how can i fix this error int count=0; char str =respond; char c; while (str ) { c=str ; putchar(tolower(c)); count++; } w...
Nov 14, 2015 at 6:15pm
[1 reply] : char str = "respond"; (by DDomjosa)
SIMPLE system tray icon
Hey guys, Huge programming noob here. I had a little knowledge of C++ and I couldn't find a utility to do what I needed to do (perform some automatic tasks ...
Nov 14, 2015 at 5:25pm
[1 reply] : Alas, it doesn't get any simpler than what you are finding online. The... (by Duthomhas)
by ohad
good month everyone
i want to input one long string and than divide it to tow separate strings #include "stdafx.h" #include <stdio.h> #include <string.h> void main() ...
Nov 14, 2015 at 4:39pm
[6 replies] Last: debugging symbols http://stackoverflow.com/questions/4813975/why-is-vi... (by mutexe)
ios::app 'ios' has not been declared error.
Hi, I get an error in the following code on line 9: 'ios' has not been declared . I'm using a Code::Blocks IDE if that helps. #include <iostream> #inclu...
Nov 14, 2015 at 4:10pm
[5 replies] Last: Тобто std::ios::app, так, принаймні, компилює... (by Dmytro)
please help me
Write your question here. Write a program to calculate the property tax. Property tax is calculated on 50%, 60% or 70% of the assessed value of the property ...
Nov 14, 2015 at 3:37pm
[1 reply] : I think you should read this first. http://www.cplusplus.com/forum/beg... (by Thomas1965)
by Dmytro
Your help me that would be Open Watcom understand and check it out th, learn be!
Good  the time of day! I'm trying to use Open Watcom along with CMake, and I need your help. I want to make sure that Open Watcom normal and work. I really ne...
Nov 14, 2015 at 3:01pm
[no replies]
How can I overload << and >> bitwise operator in c++?
How can I overload << and >> bitwise operator in c++? And what is the use of these operators after oveloading?
Nov 14, 2015 at 2:15pm
[3 replies] Last: The primary (only) purpose of overloading an operator is enhanced rea... (by Kevin C)
How can I make a variable global from another source file
Hello, how can I make a variable global like for example i have a variable int num =1, it is in numbers.cpp , but I want to transfer it or make it global to mai...
Nov 14, 2015 at 1:59pm
[2 replies] Last: In main.cpp, add (in a global scope, somewhere near the top of the fil... (by Kevin C)
How does this work?
After hours of research, I've finally found a way to only have to press Enter ONCE to continue. Before, if I didn't have input I would have to press Enter twi...
Nov 14, 2015 at 1:57pm
[4 replies] Last: ...because conio.h is non-standard and doesn't always behave. Further... (by Duthomhas)
by Molly
moving a circle on a line
Hi . Could someone please help me with this ? this is a simple board made by circles . three small circles will be thrown and land on a random point in the ...
Nov 14, 2015 at 1:47pm
[14 replies] Last: @dhayden those numbers specify the range where the small circle shoul... (by dhayden)
Declaring an array inside a class
Hi, I was writing a code in which I use two different classes; contact and phonebook. I want to declare an array of type contact in the phonebook class, but can...
Nov 14, 2015 at 1:30pm
[4 replies] Last: Thanks a lot! (by zaryabsaeed)
by bastri
Private? Protected? ...
Hi, I have a doubt. Why can I Set the attribute "int X" in "Class2"? "Class2" doesn't have the variable member "int X" "Class2" is derived class from Cla...
Nov 14, 2015 at 1:12pm
[4 replies] Last: Solved. Thanks. (by bastri)
Runtime two dimesional array?
So far I can make a run time one dimensional array #include <iostream> using namespace std; struct bob { bob(); ~bob(); int x; int ...
Nov 14, 2015 at 12:00pm
[3 replies] Last: http://stackoverflow.com/questions/936687/how-do-i-declare-a-2d-array-... (by closed account 48T7M4Gy)
Uninitialized Local Variable
Hello I have a header file that is name Warrior. I'm getting an error naming error C4700: uninitialized local variable 'warrior' used.Below is the code where i...
Nov 14, 2015 at 11:38am
[1 reply] : it means you didnt initialize the warrior where it was declared as loc... (by xenoviaquarta)
Does this program look right?
I need to write a program that prompts the user to input 3 values 2 integers and 1 float, and then display them. would what I have be correct? Thanks! WH...
Nov 14, 2015 at 8:09am
[7 replies] Last: read up more is my suggestion first off declaring your ints and float... (by anhlamgame)
Graphics
May I know of any platforms that are highly recommended, easy to use and with tutorials on how to install and use for graphics in c++? It's quite urgent and I w...
Nov 14, 2015 at 7:56am
[2 replies] Last: 'Platforms?'. Yes, Linux, Windows and Mac OS on x86 processors can do ... (by Kevin C)
How to read in spaces
This function reads in first and last correctly. What isn't correct is that when I read in answer, it ignores the blank spaces held in the file. How can I read ...
Nov 14, 2015 at 7:48am
[no replies]
Area Problem
2.1 - Design a class point that has x and y coordinates as data members: Include the following member functions:  Constructor with arguments  Construct...
Nov 14, 2015 at 7:31am
[2 replies] Last: so i didn't understand what should i do ?? (by williambj15)
d0ta
create dota using c++、 is it possible?
Nov 14, 2015 at 7:02am
[6 replies] Last: Ask Gabe Newell. gaben@valvesoftware.com (by xismn)
November 2015 Pages: 1... 2829303132... 53
  Archived months: [oct2015] [dec2015]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.