|
From: Inge J. <Ing...@ag...> - 2003-06-26 15:20:46
|
Dear all, As a beginner, I really would appreciate your help! I am trying to work with Xite for image processing, actually I try to threshold images. I have the code in C++ for unsigned byte images, but mine are unsigned short (16 bits), so I have a problem.. I really need to keep the 16-bits, so I need to change the code.. Does anybody knows what IBAND as a variable is?? Thanks a lot, I included the code.. Inge Ir. Inge Jonckheere Research Associate Department Landmanagement Vital Decosterstraat 102 B-3000 Leuven Belgium http://perswww.kuleuven.ac.be/~u0027178/VCard/mycard.php?name=ingej |
|
From: Kit <seo...@st...> - 2003-09-01 07:46:24
|
Hi folks,
I'm in need of help here. I recently decided to try out C++, but I am having
problems with it like no other, so I'm wondering if I'm going nuts. Here's
the problem:
I was just attempting the simple Hello World thing, just as a tester. Here's
my program:
#include <stdio.h>
int main() {
printf("Hello World!\n");
}
Pretty basic, right? Compiles okay.
Now, I have a dual boot system, and my problems started with the Linux sys.
It compiled with "> g++ -o myprog myprog.cpp" and produced a file called
only "myprog". Supposedly you type "> myprog" to get it to run, only it
returned "command not found". I tried a few different things for a while,
but that didn't work, so I rebooted to windows, and dowloaded Dev-C++.
Tryied it again. Ran it. Zilch. Absolutely nothing happened. Someone telling
me what is going on! I tried clicking on the executable, running in dos,
etc, nothing.
Anyone know the problem? It's driving me nuts, so I'll be very grateful for
any help.
Thanks in advance.
--
Kiti
|
|
From: Per W. <pw...@ia...> - 2003-09-01 08:13:11
|
About the Linux problem.
You either add current directory to the path, or you have to run the
program with ./myprog to specifically tell where the program is.
/Per W
On Mon, 1 Sep 2003, Kit wrote:
> Hi folks,
>
> I'm in need of help here. I recently decided to try out C++, but I am having
> problems with it like no other, so I'm wondering if I'm going nuts. Here's
> the problem:
>
> I was just attempting the simple Hello World thing, just as a tester. Here's
> my program:
>
> #include <stdio.h>
> int main() {
> printf("Hello World!\n");
> }
>
> Pretty basic, right? Compiles okay.
>
> Now, I have a dual boot system, and my problems started with the Linux sys.
> It compiled with "> g++ -o myprog myprog.cpp" and produced a file called
> only "myprog". Supposedly you type "> myprog" to get it to run, only it
> returned "command not found". I tried a few different things for a while,
> but that didn't work, so I rebooted to windows, and dowloaded Dev-C++.
> Tryied it again. Ran it. Zilch. Absolutely nothing happened. Someone telling
> me what is going on! I tried clicking on the executable, running in dos,
> etc, nothing.
>
> Anyone know the problem? It's driving me nuts, so I'll be very grateful for
> any help.
>
> Thanks in advance.
>
> --
> Kiti
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Dev-cpp-users mailing list
> Dev...@li...
> TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
> https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
>
|
|
From: Ioannis V. <iv...@em...> - 2003-09-01 09:23:21
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf Of Kit
> Sent: Monday, September 01, 2003 10:46 AM
> To: dev...@li...
> Subject: [Dev-C++] Help!!
>
>
> Hi folks,
>
> I'm in need of help here. I recently decided to try out C++,
> but I am having
> problems with it like no other, so I'm wondering if I'm going
> nuts. Here's
> the problem:
>
> I was just attempting the simple Hello World thing, just as a
> tester. Here's
> my program:
>
> #include <stdio.h>
> int main() {
> printf("Hello World!\n");
> }
>
> Pretty basic, right? Compiles okay.
>
> Now, I have a dual boot system, and my problems started with
> the Linux sys.
> It compiled with "> g++ -o myprog myprog.cpp" and produced a
> file called
> only "myprog". Supposedly you type "> myprog" to get it to
> run, only it
> returned "command not found". I tried a few different things
> for a while,
> but that didn't work, so I rebooted to windows, and dowloaded Dev-C++.
> Tryied it again. Ran it. Zilch. Absolutely nothing happened.
> Someone telling
> me what is going on! I tried clicking on the executable,
> running in dos,
> etc, nothing.
>
> Anyone know the problem? It's driving me nuts, so I'll be
> very grateful for
> any help.
You have to write
./myprog
so as to run it.
By the way, your code as the hello world of C++ doesn't seem a good start.
Are you sure you are not learning C?
Ioannis Vranos
* Programming pages: http://www.noicys.freeurl.com
* Alternative URL 1: http://run.to/noicys
* Alternative URL 2: http://www.noicys.cjb.net
|
|
From: Eric <eri...@cl...> - 2003-09-01 10:41:01
|
Also you might need to go "> gcc -o myprog myprog.c"
----- Original Message -----
From: "Kit" <seo...@st...>
To: <dev...@li...>
Sent: Monday, September 01, 2003 7:45 PM
Subject: [Dev-C++] Help!!
Hi folks,
I'm in need of help here. I recently decided to try out C++, but I am having
problems with it like no other, so I'm wondering if I'm going nuts. Here's
the problem:
I was just attempting the simple Hello World thing, just as a tester. Here's
my program:
#include <stdio.h>
int main() {
printf("Hello World!\n");
}
Pretty basic, right? Compiles okay.
Now, I have a dual boot system, and my problems started with the Linux sys.
It compiled with "> g++ -o myprog myprog.cpp" and produced a file called
only "myprog". Supposedly you type "> myprog" to get it to run, only it
returned "command not found". I tried a few different things for a while,
but that didn't work, so I rebooted to windows, and dowloaded Dev-C++.
Tryied it again. Ran it. Zilch. Absolutely nothing happened. Someone telling
me what is going on! I tried clicking on the executable, running in dos,
etc, nothing.
Anyone know the problem? It's driving me nuts, so I'll be very grateful for
any help.
Thanks in advance.
--
Kiti
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Dev-cpp-users mailing list
Dev...@li...
TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
|