Search Results

Showing results 1 to 31 of 31
Search took 0.01 seconds.
Search: Posts Made By: Yustme
Forum: C# Nov 16th, 2006
Replies: 1
Views: 2,176
Posted By Yustme
Hi,

I'm trying to make a project which "converts" for example from meters to centimeters. I fill 20 labels with a random generated question containing a "fromUnit" and "toUnit" object.

Here is...
Forum: C# May 27th, 2006
Replies: 12
Views: 19,368
Posted By Yustme
Oh ofcourse, stupid me. Im sorry, its just that i worked on this for like a week fulltime.

I can't think straight anymore :eek:

Thanks plazmo
Forum: C# May 27th, 2006
Replies: 12
Views: 19,368
Posted By Yustme
If i found the item which is different from the pcXML doc, how can i make it copy or clone to from serverXML to pcXML?

I tried this:

serverRow.ItemArray.Clone(outputXML);

its correct code,...
Forum: C# May 27th, 2006
Replies: 12
Views: 19,368
Posted By Yustme
Yea those tags where not all translated, i forgot a few, but in the xml doc they are fine :)

I found the problem why it didn't find the docs. We forgot to put the .xml extention behind those doc...
Forum: C# May 27th, 2006
Replies: 12
Views: 19,368
Posted By Yustme
Hi plazmo,

Thank you for the time you took to post this. I really appreciate it!

Im trying to figure out what this code does. Most of it i understand coz of your comments.

Im getting an...
Forum: C# May 26th, 2006
Replies: 12
Views: 19,368
Posted By Yustme
Hi plazmo,

Thank you for your reply.

Its too difficult for me to understand what you all said there.

Im new to c sharp. Can you show me some example codes please?

Thnx in advance!
Forum: C# May 25th, 2006
Replies: 12
Views: 19,368
Posted By Yustme
Hi,

Im having a lil problem which i can't figure out myself.. I tried searching google, but i found nothing what might even help me the slightest bit..

I wanna compare 2 xml files with...
Forum: Java May 14th, 2006
Replies: 1
Views: 5,556
Posted By Yustme
Hi,

How do i align text to the right in java? Default its from left...

Thnx in advance!
Forum: Java May 13th, 2006
Replies: 10
Views: 3,006
Posted By Yustme
What about the numbers?

They would be upside down then...
Forum: Java May 13th, 2006
Replies: 10
Views: 3,006
Posted By Yustme
Nope ;)

I quoted it because its translated from another language which i dont have anymore...

but this is the main method:


public class HistoGram {

public static void...
Forum: Java May 13th, 2006
Replies: 10
Views: 3,006
Posted By Yustme
Hi server_crash,

Thank you for your reply!

In what line does this happen?
Forum: Java May 13th, 2006
Replies: 10
Views: 3,006
Posted By Yustme
Hi iamthwee,

And sure iamthwee.

There ya go:
Forum: Java May 13th, 2006
Replies: 10
Views: 3,006
Posted By Yustme
Thank you for your reply!

Thats actually not really the problem. instead of sensor[i] in that stence at the end, i can put everyting i want. For example 100.

The problem is, how this is being...
Forum: Java May 12th, 2006
Replies: 10
Views: 3,006
Posted By Yustme
Hi,

Im having a lil problem which is kinda fustrating me.

This line of the code: g.fillRect( xPos, yPos - 20 - sensor[i], 20, sensor[i] ); the last sensor[i] besides how high the rect will be....
Forum: C++ Mar 26th, 2006
Replies: 3
Views: 2,208
Posted By Yustme
I've tried a few things which also didn't work. This was the last thing i tried.

I was looking for the last example you gave me.

Thnx !
Forum: C++ Mar 26th, 2006
Replies: 3
Views: 2,208
Posted By Yustme
Hi,

Im trying to make a multiply table from 1 to 10.

Im trying to do this with array's.

This is the code i have till now:


#include "conio.h"
Forum: C Mar 23rd, 2006
Replies: 20
Views: 12,766
Posted By Yustme
I got it, thnx :D


>D + 6 equivalent to &s[0] + 6 which is J and adding 6 by D = J
Not quite. Remember that the & operator means "address-of", so &s[0] isn't 'D', it's the address of 'D'. Remove...
Forum: C Mar 23rd, 2006
Replies: 20
Views: 12,766
Posted By Yustme
I knew that :D . Coz *s keeps poiting to what the char had as value.





I see..... So let me get this straight with my own words and an example.

Suppose i make this peace of code, a...
Forum: C Mar 22nd, 2006
Replies: 20
Views: 12,766
Posted By Yustme
It worked :D





Thank you Narue's!

I almost got it. I understand that the counting starts from s[0]. And that the value of the pointer doesn't change after doing this: *s + 6. Coz its...
Forum: C Mar 22nd, 2006
Replies: 20
Views: 12,766
Posted By Yustme
That long commet is actually a note for my personal 'C notes doc'. I just pasted it there for temporarly....




Yes i do, but i didn't know what you ment by that. I guess i had to found out...
Forum: C Mar 20th, 2006
Replies: 20
Views: 12,766
Posted By Yustme
This is the flipbit function now:


void flipbit( unsigned* x, unsigned p )
{
*x ^ ( 1UL << p );
/* UL is een toevoeging/aanhechting aan een constante getal om de compiler ...
Forum: C Mar 20th, 2006
Replies: 20
Views: 12,766
Posted By Yustme
I see...

Could you tell me what UL does and means?

And what is the difference between function(char* var) and function(char *var) ?

Thnx inadvance!
Forum: C Mar 20th, 2006
Replies: 13
Views: 7,248
Posted By Yustme
Great, It works! :cheesy:

Thank you Narue for your help and patience!!!!!!! :)
Forum: C Mar 20th, 2006
Replies: 13
Views: 7,248
Posted By Yustme
Ow i see.... More details, sorry about that!

Well it doesn't give any errors. I can run it, but everything keeps black in the dos prompt.

My pc runs on windows XP pro. And im using dev-C++...
Forum: C Mar 20th, 2006
Replies: 13
Views: 7,248
Posted By Yustme
Probably yes, but then again, im just a 12 year old kid :sad:
Forum: C Mar 20th, 2006
Replies: 13
Views: 7,248
Posted By Yustme
Thnx for your reply Narue!

They both don't work.

This is what i tried to convert to uppercase:



main(){
char text[] = "TessSSttTTinGGG";
Forum: C Mar 20th, 2006
Replies: 13
Views: 7,248
Posted By Yustme
What do you mean by "your function can't guarantee that *sPtr is within the range that toupper expects (an integer in the range of an unsigned char)" ?

I didn't use any int's. Im a newbie in...
Forum: C Mar 20th, 2006
Replies: 20
Views: 12,766
Posted By Yustme
Hi Narue,

Thnx for your reply!

This is what my main is look like:


main()
{
int v = 0x90; /* a test value */
Forum: C Mar 20th, 2006
Replies: 20
Views: 12,766
Posted By Yustme
Hi,

Im trying to make a function that flip bits. There is not much usefull to find on the net about this.

Like an example of such function. Does anyone have a function that flipbits?

Thnx in...
Forum: C Mar 20th, 2006
Replies: 13
Views: 7,248
Posted By Yustme
Thank you for your reply Ancient Dragon's!

This was what i was looking for:


void convertToUpperCase(char *sPtr)
{
while(*sPtr != '\0')
{
if (islower(*sPtr))
Forum: C Mar 19th, 2006
Replies: 13
Views: 7,248
Posted By Yustme
Hi everybody,

I'm new in programming. Getting started with C. Im trying to do a few easy things like to uppercase a string.

But i got stuck...

This is what i have so far:


void toupper(...
Showing results 1 to 31 of 31

 


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

©2003 - 2009 DaniWeb® LLC