Beginners - February 2017 (Page 33)

Write a character literal whose value is an asterisk (*).
 
I'm using codelabs to do some programming exercises, and I can't for the life of me seem to get this...
[2 replies] Last: Ahh, I see. Thanks a lot! (by servbot)
Arrays of strings - BUG!
 
I understand the correct implementation and usage of arrays regarding with indexes and memory locati...
[7 replies] Last: Wait, I meant what if {"HELLO"} is like this {"H", "E", "L", "L", "O"}... (by Kourosh23)
by zivvy
Writing a program to find x^n
 
Write your question here. hey guys, I am supposed to write a program to work out x^n but I still do...
[10 replies] Last: 0 to the power 0 is the fourth one? (by closed account 48T7M4Gy)
Storing Data and Using Loops
 
I've been assigned some homework in class, and I understand if homework is frowned upon. The problem...
[2 replies] Last: Thanks! That did it! (by bacardiman)
by Akaso
HELP!!!!
 
SO i'm trying to write this program for my class have no idea what to do. It's a currency converter....
[4 replies] Last: cin and cout are C++. printf and scanf are C. however, printf is muc... (by jonnin)
by nchron
1st Program Critique
 
Hello all, I am new to CPP programming. I have some PHP experience but have finally taken the plung...
[2 replies] Last: For a first program its pretty nice. Learn to define constants at the... (by jonnin)
by baelec
Cannot convert float to float (calling function values inside another function
 
Hello all, first time poster here. I keep getting the following error when trying to calculate the a...
[2 replies] Last: designcalc is a function, and you're trying to pass it to a function t... (by helios)
by MAK001
Compare two strings in C++
 
I need to compare two strings in C++. Suppose the first string is sol and the other one incomplete_a...
[2 replies] Last: if ((sol.compare(incomplete_ans)) == 0); Remove the semi-colon at ... (by wildblue)
Can I use a pointer to print only the first word of a cstring?
 
Hello! I want to know what I need to add to my program in order to keep it opperating properly if so...
[13 replies] Last: Hello katiestevers, Good to see you back. In answer to your new subj... (by Handy Andy)
Error, seeking help
 
So I'm trying to find the average on 3 months of rainfall. Whenever I run this code, it asks for th...
[2 replies] Last: You need to do the average calculation after getting values for the mo... (by joe864864)
by MAK001
how to look at each character of a string without for loop in C++
 
Suppose I have a character, and I want to check if the character is in the string. For example, I wa...
[2 replies] Last: You can use either std::string::find or std::find from the <algor... (by closed account E0p9LyTq)
by xymobb
Duration 0 when testing run time of a function.
 
I am having a problem with the codes below. include<iostream> include<chrono> using na...
[1 reply] : yep. If your function executes too fast, you can't register the time ... (by jonnin)
by Bavro3
Displaying an integer in Win32 API CreateWindow function
 
Hello. What i'd like my program to do is to display an integer after a button is pressed. For exampl...
[2 replies] Last: Thanks! I'll look into it (by Bavro3)
Good Beginner Projects for Certain Levels?
 
Hi! I'm new to C++, well sort of, I've tried learning it in the past but was busy with other things,...
[2 replies] Last: Ah that helps a lot! Just what I was looking for. When I said "where... (by TheIvernGiant)
Arrays and for loops
 
Just a personal contribution to the open source code. Hope it helps. #include <iostream> using n...
[2 replies] Last: int average = sum/size; // sum = 66 and size = 11. To get average 66... (by TheIdeasMan)
Delegating to a linked issue
 
Hi I am doing a chapter in my book about delegating to a linked list. When I compile the example in ...
[2 replies] Last: Hi I already did that in http://pastebin.com/aCL7uR2u to get it runnin... (by Gboss59)
Segmentation fault along with core dumped after running
 
So I still can't seem to find this seg fault when compiling on ubuntu. I ran valgrind and appears it...
[5 replies] Last: Just a quick question: why are you using delete on something you did... (by TheIdeasMan)
How to use external libraries (SFML) with MinGW in the simplest way possible
 
Hi everyone. I am currently using very simple tools for learning C++. I'm writing my code in eit...
[no replies]
Programming Assignment: Making change
 
Hello! I am very NEW to programming this is my second week in my C++ class and I am having trouble w...
[2 replies] Last: AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH JOE!!!!!!!!!!!!!!!!!! That's ... (by cristina999)
Trouble with player health (Basics)
 
Hi I'm testing out what I can do with C++ and I want to eventually develop a simple text based game....
[6 replies] Last: Ok thanks guys, I got it working (thx shadder). Btw Flaze07 I'm using ... (by Chickenman256)
February 2017 Pages: 1... 3132333435... 37
  Archived months: [jan2017] [mar2017]

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