775 Posted Topics

Member Avatar for sumtaru
Member Avatar for breakzzzz20

In the changes you made did you check if you have a closing bracket for the public class?

Member Avatar for behemothdave
0
438
Member Avatar for meme meme

If it doesn't give any syntax or compile error then could you post a sample output of the program and then post the desired output so we can pinpoint which line is causing this

Member Avatar for paradise11
0
173
Member Avatar for lehartcomputing

What have you coded so far?, Which part of it are you having problems with?

Member Avatar for zeroliken
0
202
Member Avatar for sonicx2218

> but I don't want to have to copy and paste and slightly change the coordinates of each one you mean you wan't them to have the same dimensions but positioned in different parts of the applet right? > I want to basically copy and paste the creature I made …

Member Avatar for sonicx2218
0
407
Member Avatar for dls_20022002

make a nested loop the outer loop used to simply traverse every element of the array and the inner loop for pairing the array index from the outer loop with every element from the array that comes after the specified index

Member Avatar for zeroliken
0
347
Member Avatar for hwoarang69

one way is to store the values after the index containing 0 to an index before it, but you need to be aware of the last index of the array that has a value A better approach would be using stack or queue

Member Avatar for Vish0203
0
6K
Member Avatar for Valiantangel

> but i dont understand why i need y=y*10 and y+x %10 if you'd want to convert it you need to understand how the code works using the while loop first My advice would be to trace the code by printing out the value of x and y in the …

Member Avatar for WaltP
0
112
Member Avatar for trektrak

Do you have a specific question/problem about coding that you'd want help with?

Member Avatar for trektrak
0
150
Member Avatar for dwlniles

the variable grades has no value thus the error states that it hasn't been initialized

Member Avatar for zeroliken
0
257
Member Avatar for Brenda_Bawa

>How about changing ones username to something less public/ searchable? Mine is my first and last name and I really don’t want/ need this to be so available; especially when I don’t even want membership on this website. that could be done by an admin > I am frustrated. > …

Member Avatar for deceptikon
0
277
Member Avatar for tiredoy

use %lf in scanf to read doubles also use parentheses instead of using the sharp symbol for the argument of main, scanf and printf

Member Avatar for zeroliken
0
117
Member Avatar for RichardLim

I'm not sure if visual studio supports a deprecated library like conio.h and it's functions like getch(), try removing them also use int main instead of void main

Member Avatar for BobS0327
-1
94
Member Avatar for boiishuvo

> Thanks but that didn't work That's probably your compiler specific req. in using parentheses for that condition, even without those extra parentheses the program compiled/runned fine in my linux gcc

Member Avatar for zeroliken
0
188
Member Avatar for literal

how would you insert a node in the tree given a pet name? Is choosing if to move to the left and right child alphabetical by the name of the pet? as my opinion on knowing the root you could simply make a pointer for the first node of the …

Member Avatar for zeroliken
0
109
Member Avatar for Vish0203

> I tried a lot to understand the spacing procedure in pascal triangle.. but it all went to vein!! do you mean the spacing between the integers on every line? you need to be more specific on how you need the triangle to look like, does it require you to …

Member Avatar for Vish0203
0
342
Member Avatar for resiak

[Is searching the web for a sample too hard for you?](http://lmgtfy.com/?q=edit+and+delete+text+file+java) >can you give me the code ? that would be spoonfeading you and you'll learn nothing in the process if you need specific help with your code, then post that here, explain the problem then we'll help

Member Avatar for DavidKroukamp
0
227
Member Avatar for Esmerelda

> assigning a variable I'm a bit confused by this statement, isn't it supposed to be *assigning a value to a variable* > Is it possible to initialise a variable multiple times in C prog No, it's not necessary, why do you need to initialize it every time? > initialise …

Member Avatar for WaltP
0
101
Member Avatar for FraidaL

here's a few options I could think as of the moment: 1. use a conditional for the rest of the code in the function, e.g. void display(int a, int c, int g, int f1, int f2) { int i = 0; //or you could use a boolean while(f1==0&&f2==0) { cout …

Member Avatar for zeroliken
0
111
Member Avatar for hussain shabbir

[have you tried to search the web for them?](http://lmgtfy.com/?q=C%2B%2B+loop+exercise)

Member Avatar for thines01
0
82
Member Avatar for hwoarang69

@Vish0203 > after copying, cur_node and new_node become same isn't it??? not the current node but it's next node, and not really "same", its only used to allocate a memory for the next node @hwoarang69 @line 29 > while(cur_node != NULL) make that while(cur_node->next != NULL) otherwise you're iterating to …

Member Avatar for hwoarang69
0
148
Member Avatar for willjohanz

duplicate Article at: [http://www.daniweb.com/software-development/c/threads/421165/.write-a-c-program-to-keep-records-and-perform-statistical-analysis-for-a-c#post1796859](http://www.daniweb.com/software-development/c/threads/421165/.write-a-c-program-to-keep-records-and-perform-statistical-analysis-for-a-c#post1796859)

Member Avatar for Vish0203
0
2K
Member Avatar for willjohanz
Member Avatar for jbennet

is the starting java read me thread suppose to show in the whole software development forum and not just inside the java forum?

Member Avatar for Airshow
0
2K
Member Avatar for bigzcoder

could you post the output and tell what you wanted it to look like

Member Avatar for zeroliken
0
136
Member Avatar for alanso

correct the parameters of the display function to match the one in main and it's function prototype

Member Avatar for alanso
0
198
Member Avatar for nicprog

> can you explain how to chack all the char inside the array without check only the first and it says equal use a counter or a boolean, if one of the letters is not equal return false or change the value of the counter, and later use that boolean …

Member Avatar for zeroliken
0
124
Member Avatar for anonymous1987

> But i am unable to convert this int back to a word. eg one + six = seven. how about using the array filled with the words where the integer answer will be a counter to get the position/index of the word counterpart of the number

Member Avatar for Lerner
0
172
Member Avatar for jara33

how are the functions being called, could you post the main function? > how can I do it so that when there are no exits available, the program just says "type q to quite", and skips the 'Type the first letter of the next step or direction you want to …

Member Avatar for zeroliken
0
161
Member Avatar for abhishekagrawal
Member Avatar for shotgun2011

correct the brackets of the functions otherwise you can't tell when does a functions start and end

Member Avatar for Dani
0
149
Member Avatar for blake81

> Cars D = (Car2) car you don't have a Cars class, don't initialize with a class that doesn't exist

Member Avatar for zeroliken
0
186
Member Avatar for sujinsr

include the header string.h for string functions like strcmp as a sidenote I'd suggest that you avoid using *goto*, instead you could use simpler methods like a switch condition

Member Avatar for Nimrod7676
0
267
Member Avatar for Yozuru

* you haven't created yet a variable grade > float TestAverage = (test1 + test2 + test3)/3; > float LabAverage = (lab1 + lab2 + lab3)/3; > float NotesAverage = (notes1 + notes2 + notes3)/3; * there's no need to redeclare their data type > cin << TestAverage + LabAverage …

Member Avatar for FelineHazard
0
1K
Member Avatar for hwoarang69

> if(cur_node->age < ag && cur_node->next->age > ag) you have no condition if the age is equal to ag, etc

Member Avatar for zeroliken
0
178
Member Avatar for xEffrego

you probably missed a semicolon or bracket on another line, could you post the rest of the code (better if it's the whole code)

Member Avatar for xEffrego
0
2K
Member Avatar for dmoneyrpyt

duplicate thread at [http://www.daniweb.com/software-development/cpp/threads/420931/declaration-syntax-error-and-declaration-missing-can-someone-fix-this](http://www.daniweb.com/software-development/cpp/threads/420931/declaration-syntax-error-and-declaration-missing-can-someone-fix-this)

Member Avatar for zeroliken
0
255
Member Avatar for dmoneyrpyt

@ line 139 - use %c since it's character and not a string also *don't* forget the & to save it to the address of ans @ line 197 - ^same problem with the address next check the brackets and make sure you have all the corresponding closing brackets also …

Member Avatar for zeroliken
0
967
Member Avatar for Valiantangel

> if i want to make x the constant or in c u call define.,how can i go about? before main, `#define x 2.55`

Member Avatar for zeroliken
0
80
Member Avatar for majorawsome
Member Avatar for Sahil89

Back in the old forum there used to be a list of admins and mods Also Can I ask if you know what happened to Narue?

Member Avatar for Sahil89
0
162
Member Avatar for rangach98

what's the specific problem that you need help with? > Input is the address of a folder containing images read either of these [http://docs.oracle.com/javase/tutorial/2d/images/loadimage.html](http://docs.oracle.com/javase/tutorial/2d/images/loadimage.html) [http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Java/Chapter06/images.html](http://www.particle.kth.se/~lindsey/JavaCourse/Book/Part1/Java/Chapter06/images.html) > Output should be a jframe displying first image in a folder when i scroll mouse or press right arrow key then next image should …

Member Avatar for JamesCherrill
-2
164
Member Avatar for djokerfan20

> 12/12/2012 then the date for tomorrow displays a list of dates could you post a sample output of the code I'm unable to duplicate the problem since I got only one date for the output when I entered 12/12/2012

Member Avatar for djokerfan20
0
252
Member Avatar for svcj92

you need to be more specific about the problem your having is there a specific error in your code or do you need suggestions on how to get started

Member Avatar for BobS0327
0
1K
Member Avatar for samytaqq

What have you coded so far? is there a specific problem you need help with?

Member Avatar for m4ster_r0shi
0
139
Member Avatar for samytaqq

Is there a specific problem or question about that we could help you with?

Member Avatar for thines01
0
196
Member Avatar for willjohanz

If you just need suggestions on how to get started then I suggest you read about structures and file i/o in C other than that if you have a specific problem or error with your code then you could post it here then we'll help

Member Avatar for Ancient Dragon
-1
92
Member Avatar for easterbunny

@ the function > for(int i = 0; i > nrEle ; i++){ > for(int j = 0; j > nrEle; j++){ what's the value of nrEle that you passed to the function? if the value nrEle is **less than** the value of i and j then it will loop …

Member Avatar for easterbunny
0
863
Member Avatar for glen999

> i need to display the numbers 1 to 9 randomly but they cannot be repeated! you could save the random number in an array, when you create a new random number check the elements of the array if the random number generated is already given then create a new …

Member Avatar for deceptikon
0
160
Member Avatar for flynwltn

Sorry but we can't do your homework for you If you have specific questions or problems on any of the following then you can post your pseudocode here and that's where we'll help you

Member Avatar for TrustyTony
-1
75

The End.