Hi, I have recently got a job in unix, now training is going on and we have been practicing on telnet, so to practice at home I have installed vmware(virtual machine) and planning to download ubuntu. So my doubt is that whether I can write c and cpp progs in vi editor and can I run them by default... (5 Replies)
I get this gcc warning, but the function works correctly. Any ideas?
#include <stdio.h>
#include <string.h>
#include <ctype.h>
int main(void)
{
char A = "";
strcat(A, "Hello World!");
int COUNT = 0;
while(A)
{
A = (char)(tolower(A));
... (7 Replies)
I get the following gcc warning. I do not see a double being declared anywhere... how can I fix this?
(This code is just an example, I realize that the first if bracket will never be executed.)
#include <stdio.h>
int main(void)
{
float A = 0.0;
int B = 150;
if(B == 0)
... (1 Reply)
AIM- Install Oracle 11g on Solaris using VMWare
Steps
1.Logged on as root
2.Created subfolders à /usr/local/bin & /usr/local/bin/gcc
3.Downloaded gcc & libiconv & unzipped them on my harddrive & burnt them on CD
4.Copied files from CD to /usr/local/bin/gcc
5.Terminal (root) à pkgadd -d... (8 Replies)
i write c++ code it run perfectely with g++ compiler but same code when i compile with
GCC compiler it gives linker error , followed these linker error
/tmp/ccfZtXOQ.o(.text+0x22): In function `main':
conf_system.cpp: undefined reference to `operator new(unsigned int)'... (5 Replies)
hi ,
iam trying to install gcc compiler on a sun sparc sytem running solaris 9 .
i have searched the internet for documentaion on how to install gcc , but the steps are unclear .
could anyone help me with a document , because the documentaions i found are really confusing .
thank you... (1 Reply)
Hi mates,
I am a new comer of this forums.
I have a problem while using function "fread(buffer, size, number, file-pointer)" to read a binary file.
While I used the "fread()" to read the binary file under Solaris UNIX System, it worked very well. But it gets a incorrect result... (6 Replies)
The gcc compiler is giving following error in my code. Can Anyone help, why is this warning popping up.
"void format, different type arg (arg 1)"
The function's on which warning is given, looks like this:
void fprint_stderr_sockarray(int* sockets)
{
..........
..........
} (2 Replies)