The values being printed are correct - that is i can print a and b, however when i print the difference between the two i get garbage.
Type: Posts; User: grimuth
The values being printed are correct - that is i can print a and b, however when i print the difference between the two i get garbage.
tabstop - how would i go about adding the "ULL" to the end of my variable if i have something like:
for(int j =0; j < 8 ; j++)
{
for(int i =0; i < 8 ; i++)
val= (val <<...
Hey all,
I have two unsigned long long int variables that i want to compare (such as >=, == etc) and occasionally want to apply arithmatic to (simple - operations mainly).
For example if i have...
cool, thnx for the help
Hey all,
Just worken threw an assignment and i have some working code that will get me the marks i need but just out of curiousity i would like to see if anyone here can think of an algorith for...
Hey all,
Two things.
1. Anyone give me some hints on how the soundex algorithm works.
2. How to go about deleting the information in an array from the buffer.
Thanks.
Hello All,
im trying to get some user input, compare it to the data stored in a .dat file and output all the information for the contact if the user input matches the data of the contact in the...
Yeah i understand what ur saying, im just not sure how to do it, im first year student.
Can someone give me an exapmle, i cant seem to get this
how do i assign a null value to a char
wait, im just talking about removing all the data within it, but still keeping the struck itself for later use, so its like it was at the begining of the program.
Hello all,
im tryig to input a txt file, store it in an struct array, output that data into a .dat file and from then on the programm is to read from the .dat file, the thing is i no longer need...
Thanks Heaps for help, that should keep me going :)
thats what i thought but im waiting for his reply, anyway any ideas about the searching for similar names ?
Well ive started the code now going on the assumption that the person only has one first name and one surname, just so i could finish the rest of the functions but my problem is the algorithm, i just...
Hey,
I have an assignment for school, not too hard just stuck on a couple of things.
One the teacher ecpects us to search for a name the user inputs and match it to the closest match, or couple...
thnx, ill look into what you said, ive been looking round for hours now, its just that most teachers - especially in programming are very unaproachable, kinda upthemselfs, like you should know...
haha i know this is getting annoying but we are only allowd to use upto what weve lernt, im in week 7 of school now, we just lernt arrays. alot of students get marked down for useing more advanced...
so just as an example how would i create (well ive never used it so ill refer to int) liek the int value of that
like
char 1 = "ones ........ etc"
then remove from there, caus ethat what i...
Hey im just making a game called yahtzee if anyone knows it for school and im having trouble with one part.
Let me explain the way the teacher wants the game to work. The are thirteen possible...
haha thnx just needed to enter name after || or statement
hey only in 4th week of learning c++ just wanted to know what this error message means for this program, i am using dev c++ as a compiler:
#include <iostream>
#include <iomanip>
using...