I just installed slakware 9.1 and it kicks ass, likin it alot better than rh. But I can't get my sound card to work. Anyone else using slack had this problem? I have an integrated Intel audio card on my machine I think. Anyone know what the modprobe line would be? My card did work with rh so I...
I did that, but now I get the error
D:\src\Face\Main.java:3: package Face does not exist
import Face.*;
^
1 error
The Face.class file is there though.
shaun
I have written a class called Face and it compiled correctly. But I can't import it correctly. Both files are in the same directory.
import Face; // thats how I import it
and theres the error below...
D:\src\Face\Main.java:3: '.' expected
import Face;
^
1 error
Any suggestions...
Thanks for your help guys.
-obislavu-: I was not sure why I had to put the
if(ptr) {
free ptr;
}
into the code. I would only free that allocated memory if I wasn't going to use the array later, right?
shaun
...I don't know if it works or not, is the new variable (array in this case)being created?
#include <stdio.h>
void create_array() {
int i;
int *ptr=(int)malloc(sizeof(int)*50);
printf("Array being created any initialized...\n");
for(i = 0; i < 51; ++i) {
ptr[i] = i...
I'm a newbie to assembly, bare with me. I'm using nasm. I wrote this small bootloader, but when it loaded up the string didn't print out, and I just got alot of colours on the screen.
bits 16
org 0
jmp start
start:
mov si, os_nam
call print
print:
mov ah, 0
int 10
os_nam db 'shauns...
I am thinking of getting Visual C++ 2003 when it comes out, but I've heard some talk about how anything produced from visual studio aren't real PE exe's, that they have .net code all embeded. Is that true? Do Visual c++' exe's require the .net runtime also? shaun
I have this code, it finds x ^ y. I want to pass two floating point vars at the command line, so I used char** argv and then tried to convert the argv[1] and argv[2] to a float, but I get the error "pointer value used where a floating point value was expected." how do i convert...
I download the mingw packages, (the core distro, binutils, make, and the runtime) and extracted them to d:\mingw32\ Now where I tried to compile a simple hello world program it test it out I got an error about now being able to find -luser32 I believe. So, what Im asking is do I have to set...
Anyone know how I can configure cl.exe from the .net sdk to find the includes headers from the platform sdk? I cant compile anything right now? :( shaun
hello,
Im running rh linux 7.2 on my primary hard disk, then on my second hd I am running windows 98. I have huge amounts of mp3's I want to transfer over, and I am having some problems mounting the win98 disk. I tried this command
mount -t vfat /dev/hdb1 /mnt/windows/
but I get the error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.