Beginners - May 2015 (Page 33)

Why does this work *add = add +1; but not this add++
 
Im using Dev c++ #include <stdio.h> #include <stdlib.h> void imfunction(int *add) { *ad...
[1 reply] : * has a lower priority than ++ *add++ is the same as *(add++) So... (by Disch)
by kunz
DEV C++
 
is there a way i can automatically Format text in Devc++ by format i mean indenting and stuff
[4 replies] Last: so you mean to say that Devc++ has a plugin to auto format it (by kunz)
Print if it matches.
 
Hello everyone, i am quite new to C++. I have a text file. a;1 b;2 c;3 What i want is , i want a...
[1 reply] : The idea is to store the number-character pairs in such data structure... (by keskiverto)
Help with Dice program in c++ pleaseeeee
 
I need help with writing an interactive program that simulates the roll of two die. It must use func...
[1 reply] : All your roll() function needs to return is : return (rand() % 6) + 1... (by Texan40)
Limit Login Attempt without return 0!
 
Hello everyone, i am totally new to C++. I use DevC++ for my project but i am stuck in one case. I f...
[3 replies] Last: That doesn't change the fact the OP has the return in wrong location. (by AbstractionAnon)
Typedef & main help
 
I need help trying to finish this code, So i'm suppose to ask the user the ground speed, the informa...
[no replies]
Logic errors and segmentation fault in C
 
This might not be c++, but I need help with this c program that I've been working on! There are logi...
[1 reply] : Here's a first hint for you. This is what my compiler warns me about w... (by mutexe)
by ohad
somebody can help me?
 
Whats wrong with that? #include<stdio.h> #include<conio.h> main() { int a ; ...
[3 replies] Last: Why are you using a ++; at line 10? (by MK4884)
Conditions with random numbers
 
I'm practicing using random number generators and making a basic math game with user input. I need h...
[4 replies] Last: As koothkeeper said first you must convert the string to a integer Try... (by MK4884)
Strugelling with Void function
 
Hi guys. I really do not know what I am doing wrong can some one please give some idea to fix this p...
[2 replies] Last: Thanks a lot (by Henkie12345)
Binary Search Tree
 
Write your question here. Hey guys i was making a BST in c++. It works fine but it just gave me exc...
[no replies]
by vxk
character string
 
#include <iostream> int main() { char* mx = "whatis" ; for (int i = 0; i<7...
[6 replies] Last: still both my questions are unanswered (by vxk)
Copy/pasted tutorial code not behaving properly
 
Hey, I copy/pasted the code from this section: http://www.cplusplus.com/doc/tutorial%20/dynamic/#d...
[8 replies] Last: Or you download QtCreator :b But what was the problem downloading Gcc... (by Gamer2015)
Calculator
 
First of all, any help would be appreciated. I wanna use for-loop, and I want it to keep repeating ...
[10 replies] Last: What type of calculator are you making?? If a simple one then I creat... (by MRQ1)
help
 
Anyone know how to write code that will allow someone to like vote betweeen two options and then ca...
[8 replies] Last: Getting input from the user and counting up results is about as basic ... (by cnoeval)
by MRQ1
Which Graphics library to use??
 
I want to develop some basic games . I have good basic knowledge of c++ and I want to learn other mo...
[1 reply] : I've started with 2D games using the Libraries SDL and SFML. SFML is e... (by Gamer2015)
Simple program code review request
 
I just finished the tutorial so I've been going through some beginner c++ exercises. The objective w...
[7 replies] Last: If that's not enough (for long statements) you could write those in 3 ... (by Gamer2015)
Search string
 
Hi All, Please help me to write a code to read strings from a file and search in another file. ...
[2 replies] Last: Ok Thanks Samuel... (by nichu05)
Using the same binary search algorithm twice, need to differentiate between returning an in-between number and a found number
 
Hi guys, I have a school assignment that requests I'm not being redundant with my binary search algo...
[1 reply] : Perhaps seeing a description of std::lower_bound will help: http://... (by cire)
Help please
 
So I have this question I am suppose to answer, and the solution is evading me. I was presented with...
[7 replies] Last: Change function return value to string, remove line 67, 68 we dont nee... (by LendraDwi)
May 2015 Pages: 1... 3132333435... 40
  Archived months: [apr2015] [jun2015]

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