Beginners - November 2011 (Page 60)

by dr8086
C++ Search path confusion.
 
Hello all. I'm trying to build a DLL which uses functions from someone else's code. I use an include statement with a path (the entire path from the C driv...
[2 replies] Last: Excellent, that's solved it. Many thanks for your help (by dr8086)
Some little help over a small program :)
 
Hi there!im trying to make a program that reads characters and convert spaces in the text into tab.i mean,if there are 7 spaces,i put 1 tab and 3 spaces! but i ...
[no replies]
A doubt about order of execution of statement
 
I can't figure out whether the statement will return true or false: x = 1; if ((x++) && (x--)) If I try it out, I get true. But I am not sure that whether ...
[3 replies] Last: @Athar: Thanks a lot! @Gamnic: I am not using it anywhere at all! It w... (by Nisheeth)
creating element to check value
 
Hi guys, is there any way for me to create an element that will allow me to check if another element has value.
[1 reply] : There is no such thing as not having a value. Pointers can point to o... (by hamsterman)
c-string vs. string class objects
 
i was just wondering when should i use one over the other? should i always use c-strings since it is a part of c++ or should i use string objects since i can in...
[5 replies] Last: No. You can write anything at all to file. (by Moschops)
by rej3kt
Simple for loop problem!
 
Hi, I know it's probably a rookie mistake but I just can't seem to figure out why the integer i won't count up until it is equal with the integer pennies". Than...
[2 replies] Last: Ahh thanks a lot mate, not equals sorts it all out! (by rej3kt)
generating random numbers from a specific pool
 
Hello! Im new to this forum and I come here with a question. I have been following the C++ tutorial from this website and I love it! I have been doing that alon...
[1 reply] : The rand() function has a [set of parameters that function as] min and... (by Gaminic)
by Thamir
Could plz explain this matter
 
I try to analyze source code but I found some expressions look new to me . For instance : unsigned char fin :1; //Finish Flag unsigned char syn :1; ...
[2 replies] Last: I appreciate that bro.....thank u (by Thamir)
merge list function
 
Ive looked over this sites info on merging but im still unable to complete this program: #include <stdio.h> #include <iostream> #include "link...
[no replies]
by Dimpy
need help urgent!!!!even valued node in singly linked list
 
Hi, I need to implement: delete the nodes that contain even values from a singly linked list pointed to by head. I have some idea of it but, got stuck during i...
[1 reply] : Can you post the code with which you have a problem? Essentially what ... (by Serious Sam)
while loop
 
Hello. I would like for this while loop to wait for ADC_INT_STATUS bit in register ADC_INT_STATUS_REG to turn off and then proceed. Is this well written? Is t...
[2 replies] Last: If i do it like this i get a syntax error. (by kitarapso)
by CIS
pointer to a string object
 
Hi everybody, I have an exercise that says: Write a program with a pointer to a string object. Use the pointer to the pointer to call the size() member function...
[6 replies] Last: I wish i know!...the teacher didn't give feedback! (by CIS)
More issues...
 
Solve one problem, run into another... anyway I have another question. I am trying to write an array to a data file then read it and tell the size back. The cre...
[19 replies] Last: Haha thank you! Kill two birds with one stone. (by Mitch659)
hello, need help
 
how do i get the redundant question of pressing a number to quit or continue using another number? i need it to print out where it has one question after the en...
[2 replies] Last: In the else if part of your if statement: use the comparison/evaluat... (by PT4TB)
New to FUNCTIONS (1,2)
 
Im trying to write and use a function to calculate an average grade with the user inputting the number of grades and the the numeric grade for each one and i wa...
[22 replies] Last: You're totally not listening to what we're telling you. I already all ... (by ciphermagi)
Error meaning
 
I am new to c++ and programming in general, and I am in an introductory c++ course. We have to create a program that allows a user to create a random array of a...
[5 replies] Last: Yep! That solved it. Thank you very much. The power of refernce variab... (by Mitch659)
output from a template (using vectors)
 
Hi everyone. I've just started learning the STL stuff in C++ and was trying to make a very very simple template class. I tried to make a function below: ****...
[2 replies] Last: definitely not empty. I tried iterating it earlier using just integers... (by puppy1785)
having problem with using function
 
#include <iostream> using namespace std; double sum( double myList ){ double result = 0; for (int i= 0; i<4 ; i++){ result += myList ; } return ...
[8 replies] Last: AWESOME!! thank you so much !! (by lanceTCT)
by gh24
Creating Histogram Data
 
Hi Guys, I am struggling with creating data for a histogram. I have made a vector that is of the form P =size_of_P(4), .4, .65, .8, 1 I am creating a random ...
[3 replies] Last: Now I'm trying this. This outputs: 5,6,7,0 for count ,count ,count ,... (by gh24)
NEED HELP: Loop not working
 
I am working on a school assignment that's asking me to finish a program that will display a name a given number of times. Everything works fine except for the ...
[6 replies] Last: Found the fix for this problem. As moorecm said, the problem is in mix... (by start2finish)
November 2011 Pages: 1... 5859606162... 65
  Archived months: [oct2011] [dec2011]

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