Search Results

Showing results 1 to 40 of 51
Search took 0.01 seconds.
Search: Posts Made By: nateuni
Forum: Assembly 29 Days Ago
Replies: 1
Views: 407
Posted By nateuni
Hi,

I am just finishing up a semester at Uni that touched on Assembly with the LC-3 (Limited to around 16 instructions).

I would like to look more into assembly. Specifically getting a better...
Forum: HTML and CSS 30 Days Ago
Replies: 3
Views: 426
Posted By nateuni
Thanks, I will try that out now.

I am also having issues in IE8. The menu pops down then when i go to mouse over it disappears. I can flicker the mouse quickly back and forth to kind of catch it....
Forum: HTML and CSS 31 Days Ago
Replies: 3
Views: 426
Posted By nateuni
Guys,

Finished a kick ass assignment, checked it on all available browsers on my mac, all good, so I submitted.

Then I was over my misses mate's house and looked at it on windows and there...
Forum: Java Oct 21st, 2009
Replies: 3
Solved: Comparator
Views: 231
Posted By nateuni
Hey thanks guys..

I got it working.. but then it wasn't sorting... so I looked around more.. and I changed it (to as follows), and now it works!

Thanks again for your help!


public class...
Forum: Java Oct 21st, 2009
Replies: 3
Solved: Comparator
Views: 231
Posted By nateuni
Guys..

I am trying to figure out Comparator so I can compare Strings in an object array (the object has other data types as well).

I have been hunting around and have come up with this.. but I...
Forum: C Sep 28th, 2009
Replies: 3
Views: 263
Posted By nateuni
while (getchar() != '\n');

That is the line of code I could have done with this afternoon.. as usual snow you come through.... thanks for the input.

Nate
Forum: C Sep 28th, 2009
Replies: 3
Views: 263
Posted By nateuni
ok my bad I found out there was trailing crap from a previous scanf that was bunging things up.. and that flush is useless.... but I may have more questions.. so I want mark te thread as solved yet.
Forum: C Sep 28th, 2009
Replies: 3
Views: 263
Posted By nateuni
Out of all the possible problems I though I may have in my program, this was not one of them.

My menu code is looping twice before stopping for the fgets to take input.. so my menu options are...
Forum: C Sep 25th, 2009
Replies: 13
Views: 520
Posted By nateuni
OK here is the deal

I was originally changing the address of a dynamically allocated pointer, so malloc was freaking out. So That said...

How what do I have to do to get this bit of code to...
Forum: C Sep 24th, 2009
Replies: 13
Views: 520
Posted By nateuni
My friend and I chatted and we narrowed it down to this

ptrToFirstWorkOut = &(*ptrToProgram).week[0].workout[0];

I am reassigning the address of the action pointer (as opposed to the address...
Forum: C Sep 24th, 2009
Replies: 13
Views: 520
Posted By nateuni
Tommy... after all the good advice.. that is not what I am wanting to hear :( !

No surrender to the evil malloc! I need that dynamic allocation!

Ok I will keep playing!

Regards,
Nate
Forum: C Sep 24th, 2009
Replies: 13
Views: 520
Posted By nateuni
I used some printf's to print out the where the pointers are pointing to memory.. but I can't find the exact address! I can find close to it.... eg 0xbfffa768 but not 0xbfffa878.

I also removed...
Forum: C Sep 24th, 2009
Replies: 13
Views: 520
Posted By nateuni
Ok the exact error message is -

prog_name(35122) malloc :
*** error for object 0xbfffa878: non-aligned pointer being freed
*** set a breakpoint in malloc_error_break to debug
Forum: C Sep 24th, 2009
Replies: 8
Views: 236
Posted By nateuni
Though Tom Gunn's explanation was clearer, I appreciate you taking the time to help me out there.

Regards,
Nate
Forum: C Sep 24th, 2009
Replies: 8
Views: 236
Posted By nateuni
Ok nice clarification, thanks that made sense.
Forum: C Sep 24th, 2009
Replies: 8
Views: 236
Posted By nateuni
Hi,

I have a struct that contains many different datatypes including arrays of other stucts, ints, floats, chars, char arrays etc. I have dynamically declared a ptr to the struct in main. I then...
Forum: C Sep 23rd, 2009
Replies: 13
Views: 520
Posted By nateuni
I am getting this error message, but I am not sure what I am doing wrong?

Here is a edited snip-it of my code -


void WriteProgram(clientProgram *ptrToProgram, int *ptrTotalWkOuts, int...
Forum: C Sep 23rd, 2009
Replies: 3
Views: 217
Posted By nateuni
Hi,

In c if I have a return value and do not catch it, will this cause any problems in my program?

Or should I just catch it in some dummy variable and discard it?

In spite of googling.. I...
Forum: C Sep 19th, 2009
Replies: 14
Views: 16,959
Posted By nateuni
Yep,.. What snow said! No more posting I promise(after this one)!
Forum: C Sep 19th, 2009
Replies: 14
Views: 16,959
Posted By nateuni
[QUOTE=Anjoe18_Edica;990398]p code in [code]

If you can clearly state what inof you are looking for I can try and help you.

Regards,
Nate
Forum: C Sep 18th, 2009
Replies: 14
Views: 16,959
Posted By nateuni
Ok my bad.. ! My bad,.. seems like I am stepping on toes on over the place on here.. and not meaning too.

:( I just want to be a good boy!
Forum: C Sep 18th, 2009
Replies: 14
Views: 16,959
Posted By nateuni
To reply to the hate comment there was regarding a little beef that Narue and I recently had in another thread.

And c is how many decades old.. so why should syntax related threads date?

I was...
Forum: C Sep 18th, 2009
Replies: 14
Views: 16,959
Posted By nateuni
I know you hate me Narue,. but that site just solved something that I was really struggling with!

Thanks buddy that site was gold.

xo
Nate
Forum: C Sep 17th, 2009
Replies: 3
Views: 423
Posted By nateuni
I haven't got a chance to try it before going to bed.. (and I don't want to be half asleep having coding dreams, like when I code to late in the evening).

BUT it looks like exactly the...
Forum: C Sep 16th, 2009
Replies: 3
Views: 423
Posted By nateuni
My unit doesn't teach this so I am unaware about the correct syntax to go about what I want to do. I have hit google but have produced no answers to my specific problem. So here we go.

I have a...
Forum: C Sep 12th, 2009
Replies: 2
Views: 204
Posted By nateuni
Hmm sorry if that is not clear..

I want to find the employee that has falls closest to the average OF ALL THE VALUES. To solve my problem I have worked out a rank system.

Eg if I had..
...
Forum: C Sep 12th, 2009
Replies: 2
Views: 204
Posted By nateuni
I have been bashing away at this for hours and am not making any new ground.

I have to find the employee that is closest to the all the average.

Originally I thought I would just see how far...
Forum: C Aug 31st, 2009
Replies: 19
Views: 1,003
Posted By nateuni
hahah narki gave me a negative rep point.. ahhaha..

I wish I could send her a virtual tissue box.. ahhaha. That made me laugh... what a looooser!
Forum: C Aug 31st, 2009
Replies: 15
Views: 605
Posted By nateuni
But I need to check in case he is right... as I ran the program in Netbeans and it compiled and saved to file.. but there is the chance that if i ran it in with a a lot of extra checking like -Wall...
Forum: C Aug 31st, 2009
Replies: 19
Views: 1,003
Posted By nateuni
JD,

Thanks for taking the time to reply.

I agree that my questions could be more clear and refined. And instead of just posting y code perhaps some example code would have been better. I have...
Forum: C Aug 31st, 2009
Replies: 19
Views: 1,003
Posted By nateuni
Actually no I didn't fail.. over the weekend through more reading and trial and error I solved my issue myself.

I urge you to explore your reaction around this, and I don't mean replying to me in...
Forum: C Aug 29th, 2009
Replies: 19
Views: 1,003
Posted By nateuni
When you learn some diplomacy then I would love you to help me with my C.

But with opening comments like - [I]Grow thicker skin. Nobody cares how you feel, nobody cares what your situation is, and...
Forum: C Aug 29th, 2009
Replies: 19
Views: 1,003
Posted By nateuni
Here we go another one...

My situation does whether you like it or not effect my thread and the context in which my question was asked,.. it is very relevant. As I am very much trying to...
Forum: C Aug 29th, 2009
Replies: 19
Views: 1,003
Posted By nateuni
I have one more for yellowSnow -

yellowSnow, my prac said that the program only had to accept the full binary code in bits... I went above that and wanted to write a function that was about to...
Forum: C Aug 29th, 2009
Replies: 19
Views: 1,003
Posted By nateuni
I have seen some of these but it is quite confusing.. and I was posting here for feedback so I could try and work it out on my code and then learn that way.
Forum: C Aug 29th, 2009
Replies: 19
Views: 1,003
Posted By nateuni
Who died and made you the judge and jury? You are going off half cocked.. and you wouldn't have a clue about my situation so please don't assume that you do.

I have NOT been taught passing of 2d...
Forum: C Aug 29th, 2009
Replies: 19
Views: 1,003
Posted By nateuni
Hi,

I am new to programming and I have been doing ok. I have a subject that is in C and I really need to be able to use effectively use pointers. So far my lectures are like snails with replys.....
Forum: C Aug 28th, 2009
Replies: 15
Views: 605
Posted By nateuni
awesome that is working now...

Do read it in do I just reverse all the statements and user fscanf?
Forum: C Aug 28th, 2009
Replies: 15
Views: 605
Posted By nateuni
I am closer but i still can't get it to work.. I am new to pointers and I am finding them very confusing!!

Here is the code -

typedef struct
{
char firstName[15];
char ...
Forum: C Aug 26th, 2009
Replies: 15
Views: 605
Posted By nateuni
ops and yes there is a void on the front of the saveToFile Method... sorry i missed it out when cutting and pasting..
Showing results 1 to 40 of 51

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC