Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 40 of 73
Search took 0.09 seconds.
Search: Posts Made By: n00b
Forum: Assembly Jan 24th, 2007, 1:17 PM
Replies: 0
Views: 320
Posted By n00b
assembly questions

this is one of the first code examples i've used to take a peek into assembly programming. this one i can't quite figure out. basically, i have made a X.txt file that has coordinates of points that...
Forum: C++ Nov 25th, 2006, 10:13 AM
Replies: 2
Views: 143
Posted By n00b
c++ classes

why do methods belong to objects only logically, and not physically?
Forum: C++ Nov 18th, 2006, 4:48 AM
Replies: 1
Views: 96
Posted By n00b
dealloc linked list

this function deallocates a linked list. but it deallocates everything, including the head of the list.
how can i make it deallocate everything besides the head?

void deallocate()
{
tstudent...
Forum: C++ Nov 13th, 2006, 11:24 AM
Replies: 1
Views: 100
Posted By n00b
file managing problem

i wrote a program which takes student data and inputs them into both the main and index file. it let's you enter the data manually (no rand), prints all the data, let's you search the database by a...
Forum: C++ Nov 9th, 2006, 6:25 AM
Replies: 10
Views: 234
Posted By n00b
when working with files, do you prefer relative...

when working with files, do you prefer relative or index file organization and why?
also, i don't understand what empty file streams are used for
Forum: C++ Nov 6th, 2006, 1:52 PM
Replies: 2
Views: 94
Posted By n00b
rgr that, the last solution will do

rgr that, the last solution will do
Forum: C++ Nov 6th, 2006, 10:57 AM
Replies: 2
Views: 94
Posted By n00b
input control

if i write the code like...
int number;
cout << "Enter a number: "; cin >> number;
while(!cin)
{
cin.clear();
cin.ignore(100,'\n');
cout << "Enter a NUMBER: " << endl;
cin >> number;
};
Forum: C++ Nov 5th, 2006, 11:21 AM
Replies: 10
Views: 234
Posted By n00b
i'm trying to reconstruct a program i wrote a few...

i'm trying to reconstruct a program i wrote a few weeks ago using linked lists. but this time, i've tried to make it use files for destination and source of data that someone hipothetically might use...
Forum: C++ Nov 3rd, 2006, 8:39 AM
Replies: 10
Views: 234
Posted By n00b
so i was on the right track huh? :) well, i got...

so i was on the right track huh? :)
well, i got some slides from my university professor, there are some examples of code, but NO explanations whatsoever. so that's basically where i stole the code....
Forum: C++ Nov 3rd, 2006, 7:19 AM
Replies: 10
Views: 234
Posted By n00b
this one works fine. i just don't know what the...

this one works fine. i just don't know what the variable temp[80] is used for. in the text1.txt i've input only like 3 short lines or so, and if i change the array size to about 40 or so, it wont...
Forum: C++ Nov 3rd, 2006, 7:05 AM
Replies: 10
Views: 234
Posted By n00b
omg...yes indeed

omg...yes indeed
Forum: C++ Nov 3rd, 2006, 7:01 AM
Replies: 10
Views: 234
Posted By n00b
work with files (fstream)

i've been trying to make a really simple program work. i want to input a few lines into a text file called text1.txt, but i get all kinds of errors after compiling this bit of a code. errors are such...
Forum: C++ Oct 31st, 2006, 4:30 AM
Replies: 14
Views: 282
Posted By n00b
one more thing about doubly linked lists. i've...

one more thing about doubly linked lists. i've written a program that allows you to add new nodes to either beginning or end of the list. if i call the function for adding a node to the beginning of...
Forum: C++ Oct 30th, 2006, 4:57 PM
Replies: 14
Views: 282
Posted By n00b
steps to do when searching for elements in binary...

steps to do when searching for elements in binary tree?
Is it sorted?

nope...it aint sorted.

ooh maan, i didn't know i had to search for "traversals" keyword. i've found a whole bunch of stuff,...
Forum: C++ Oct 30th, 2006, 1:22 PM
Replies: 14
Views: 282
Posted By n00b
yea, I said exam, but in that case, everything...

yea, I said exam, but in that case, everything i've ever asked on this forum could be considered as my homework. i'm simply trying to get better understanding on things that i think i should know...
Forum: C++ Oct 30th, 2006, 1:01 PM
Replies: 14
Views: 282
Posted By n00b
first of all...this AIN'T no homework. ok now,...

first of all...this AIN'T no homework.
ok now, about adding a new element to the end of a doubly linked list, i could explain it but not very precisely.

so, in void InputEnd(element *list), first...
Forum: C++ Oct 30th, 2006, 4:16 AM
Replies: 14
Views: 282
Posted By n00b
linked list & binary tree questions

hey guys. i've been studying a bit of theory on c++ linked lists and binary tree for an exam. now, there were some examples for doing different stuff but no theoretical explanations.

so how would...
Forum: C++ Oct 20th, 2006, 8:32 AM
Replies: 4
Views: 132
Posted By n00b
oh yea, sorry about that, i meant the if()...

oh yea, sorry about that, i meant the if() SELECTION. i had something with iterations on my mind so it just slipped on the keyboard :)
Forum: C++ Oct 20th, 2006, 5:58 AM
Replies: 4
Views: 132
Posted By n00b
linked list and while()

when reading the linked list, why do all examples that i've managed to find use the while() loop instead of the iteration if() ?
Forum: Assembly Oct 20th, 2006, 5:34 AM
Replies: 1
Views: 250
Posted By n00b
assembler code

i'm using EASy68K simulator here, and was wondering if anyone might know where i could download some simple programs for this assembler to study the code.
i haven't found any webpages so if you know...
Forum: C++ Oct 17th, 2006, 10:32 AM
Replies: 21
Views: 402
Posted By n00b
"C++ by example" is an awesome book, great for...

"C++ by example" is an awesome book, great for beginners, their explanations are really simple and useful for beginners, and so are the examples.
Forum: Software Design and Algorithms Oct 17th, 2006, 10:28 AM
Replies: 6
Views: 238
Posted By n00b
chess algorithm

would anyone happen to know any good sources, such as web sites, books or whatever on computer chess algorithms?
i'd like to do a seminar for a university subject, and i thought this would be an...
Forum: Coder's Corner Lounge Oct 17th, 2006, 10:22 AM
Replies: 30
Views: 556
Posted By n00b
happy birthday 2 ya nnxion!

happy birthday 2 ya nnxion!
Forum: C++ Oct 16th, 2006, 9:41 AM
Replies: 4
Views: 136
Posted By n00b
literature on "linked lists"

hey guys,
could anyone point me a good book for c++ beginners with good explanations on linked lists. or a web page with tutorials or something would also be fine

i had a programming class today...
Forum: C++ Oct 15th, 2006, 5:58 PM
Replies: 2
Views: 108
Posted By n00b
got it, thanks ;)

got it, thanks ;)
Forum: C++ Oct 15th, 2006, 5:02 PM
Replies: 2
Views: 108
Posted By n00b
pointer to function

ok now, i'm trying to figure how all this works. so here's the whole code.

#include <iostream>
#include <math.h>
using namespace std;

double square(double x){
return x*x;
};
double cube(double x){
Forum: C++ Oct 15th, 2006, 11:26 AM
Replies: 9
Views: 191
Posted By n00b
thanks for the tips guys, yea i'm aware that the...

thanks for the tips guys, yea i'm aware that the inputs could result with problems in this case. this whole struct code was written merely to try and see how or if things will work.
i always start...
Forum: C++ Oct 15th, 2006, 9:35 AM
Replies: 9
Views: 191
Posted By n00b
:banana:

:banana:
Forum: C++ Oct 15th, 2006, 8:18 AM
Replies: 6
Views: 93
Posted By n00b
yea that i understand, tried that out before :)

yea that i understand, tried that out before :)
Forum: C++ Oct 15th, 2006, 8:14 AM
Replies: 9
Views: 191
Posted By n00b
oh yeaaa, exactly, stupid me. tstudent or...

oh yeaaa, exactly, stupid me. tstudent or whatever, is a TYPE of data, NOT a variable.

so i could just do this for example:



and in main
Forum: C++ Oct 15th, 2006, 8:01 AM
Replies: 6
Views: 93
Posted By n00b
true, i've tried it out on a simple code ...as...

true, i've tried it out on a simple code



...as soon as i ran the program, it did output the name, but it gave me an error saying that the memory could not be read.
Forum: C++ Oct 15th, 2006, 7:43 AM
Replies: 6
Views: 93
Posted By n00b
alright then, i guess i figured it out :D

alright then, i guess i figured it out :D
Forum: C++ Oct 15th, 2006, 7:34 AM
Replies: 6
Views: 93
Posted By n00b
strcpy and memcpy

i would like to know, how do you compare memcpy and strcpy as for copying elements from character arrays?

i'm familiar with the fact that memcpy copies memory blocks, and that i need to input the...
Forum: C++ Oct 15th, 2006, 7:11 AM
Replies: 9
Views: 191
Posted By n00b
ooh yea i understand now. i know this is just...

ooh yea i understand now.

i know this is just an example that we got on our programming class, but how could someone put this copy of data in student into good use when writing a program code? i...
Forum: C++ Oct 15th, 2006, 5:49 AM
Replies: 9
Views: 191
Posted By n00b
struct question

in this code sequence, i don't know what this "s2" is for.

i understand that array_s[100] means that there are 100 structures with below written variables. but what is this "s2" for? could someone...
Forum: C++ Oct 12th, 2006, 3:38 PM
Replies: 6
Views: 228
Posted By n00b
oh maaaan, this is...i dunno what to say but...

oh maaaan, this is...i dunno what to say but THANK YOU man...i understand the whole thing now, i really do. THANKS!

thanks to DaWei aswell, good to have your examples
Forum: C++ Oct 12th, 2006, 9:17 AM
Replies: 6
Views: 228
Posted By n00b
Narue: thanx for the brief explanation. yea i...

Narue: thanx for the brief explanation. yea i know, i guess i should get a good c++ book
DaWei: helpful as always, awesome webpage
Forum: C++ Oct 12th, 2006, 7:12 AM
Replies: 6
Views: 228
Posted By n00b
relation between array and pointer

how would you guys define the relation between arrays and pointers? how are these two related?
Forum: C++ Sep 9th, 2006, 2:31 AM
Replies: 12
Views: 394
Posted By n00b
That's true about the student id, it should...

That's true about the student id, it should better ask for a student's name. I'm slowly getting the hang of struct. i was upgrading the code whole night yesterday, working mainly on the algorithm...
Forum: C++ Sep 8th, 2006, 6:19 PM
Replies: 12
Views: 394
Posted By n00b
no, that n00b doesn't want some1 to figure it all...

no, that n00b doesn't want some1 to figure it all out for him. :) it's not a homework.
i have an exam late this month, the last exam i have to take this year. but they added structures to the exam...
Showing results 1 to 40 of 73

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 7:21 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC