Forum: C# Nov 16th, 2006 |
| Replies: 1 Views: 2,176 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 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 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 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 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 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 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 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 What about the numbers?
They would be upside down then... |
Forum: Java May 13th, 2006 |
| Replies: 10 Views: 3,006 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 Hi server_crash,
Thank you for your reply!
In what line does this happen? |
Forum: Java May 13th, 2006 |
| Replies: 10 Views: 3,006 Hi iamthwee,
And sure iamthwee.
There ya go: |
Forum: Java May 13th, 2006 |
| Replies: 10 Views: 3,006 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 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 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 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 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 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 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 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 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 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 Great, It works! :cheesy:
Thank you Narue for your help and patience!!!!!!! :) |
Forum: C Mar 20th, 2006 |
| Replies: 13 Views: 7,248 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 Probably yes, but then again, im just a 12 year old kid :sad: |
Forum: C Mar 20th, 2006 |
| Replies: 13 Views: 7,248 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 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 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 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 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 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(... |