 |
|
 |
When posting your question please:- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode HTML tags when pasting" checkbox before pasting anything inside the PRE block, and make sure "Ignore HTML tags in this message" check box is unchecked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question in one forum from another, unrelated forum (such as the lounge). It will be deleted.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers, Chris Maunder
The Code Project Co-fou
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
 |
I am trying to install LAMP in ubuntu For that I completed the following steps successfully in the order shown below
1. sudo apt-get install apache2 2. sudo /etc/init.d/apache2 start 3. sudo apt-get install php5 libapache2-mod-php5 4. sudo /etc/init.d/apache2 restart
After the above steps I created a PHP page named test.php in /var/www The contents of test.php is echo “Hello World”; ?>
I am 100% sure that there is no syntactical errors in the php code. But when I access the page using “http:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /var/www/test.php on line 2
I don't know what to do at this situation. Please suggest me a solution.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
I just read it was out yesterday and i got it today, at least that's what it looks like. The link is sitting in firefox waiting for me to activate it.I was hit by the 2008 version and it cost me my hard drive, so i know what this one looks like. I'm running kubuntu now and am toying with activating it just to see if linux is as immuned as it claims. Too bad no attachments i got a screen shot. From exp i know any click on that box will activate it. If you get one shut it off with sys monitor. I'm wondering if i'm too late. When i open firefox it's still there, just the one small window opens. I tried chkrootkit and it didn't find it, if you know of a good linux scan tell me. Don't know what a reboot will do yet, i'm waiting, if i can find it i might be able to send it back.
modified on Sunday, November 15, 2009 8:25 AM
|
| Sign In·View Thread·PermaLink | 1.80/5 (2 votes) |
|
|
|
 |
|
 |
How to turn the command as follow into a makefile?
g++ ex1.cc ex3.cc -I /usr/local/include -L /usr/local/lib -lrcs -o ex3 Thanks in advance!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
GNU's an introduction to makefile should get you started. A simple makefile (not tested) for this will look like:#makedepend flags DFLAGS =
#Libraries to link LIBRARYPATH = /usr/local/lib INCLUDEPATH = /usr/local/include LIBRARIES = rcs
#Compiler flags CFLAGS = -Wall
CC = g++ PROG = ex3
#each module will append the source files to here SRC := ex1.cc ex3.cc
OBJ := $(patsubst %.cc, %.o, $(filter %.cc,$(SRC)))
#linking the program ex3: $(OBJ) $(CC) -I$(INCLUDEPATH) -L$(LIBRARYPATH) -o $(PROG) $(OBJ) -l$(LIBRARIES)
%.o:%.cc $(CC) $(CFLAGS) -c $< -o $@
depend: makedepend -- $(DFLAGS) -- $(SRC)
.PHONY:clean clean: find . -name "*.o" | xargs rm -vf rm -vf ex3 In reality, you don't have to specify /usr/local/include and /usr/local/lib in the paths. These paths are there in the GCC's search path and it does a search in these paths to find the include files and libraries.
Best wishes, Navaneeth
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi, does ubuntu linux is the secure operating system for the end user and the server (in compare to the other operating system)?
Thank in advance!!!
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
hi. I am new to linux. i've started using linux by installing ubuntu on my pc. and i am looking for an c++ IDE. waiting for your suggestions ... thank you
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Give Qt Creator a try, you might like it. It's available from the Ubuntu Software Center.
Note: you might also need to install the g++ package from the Synaptic Package Manager to build things.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
Emacs is my favorite. Install the packages from CEDET[^] and setup ECB. As a beginner, there will be steep learning curve for Emacs. But it is worth learning.
Best wishes, Navaneeth
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
CODEBLOCKS.
I recently tried it and liked it very much. Not sure what it's like to develop GUI driven apps, though.
It had a feel similar to Visual Studio.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
 |
in the name of god hello i am a user of fedora for 1 year and up till now i dont know anything about its filesystem. now i have this partitions: [root@sajad ~]# partedt Model: ATA ST9250315AS (scsi) Disk /dev/sda: 250GB Sector size (logical/physical): 512B/512B Partition Table: msdos
Number Start End Size Type File system Flags 1 32.3kB 210MB 210MB primary ext3 boot 2 210MB 250GB 250GB primary lvm
and i want to create a new partition with size 50G for myself to write in it instead of writing in the home. but i neither know about filesystems in linux as lvm or ext3 nor how i can create new partition without damages to data. please help me though i know this is long!!! valhamdolelah.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi everyone, Im new to Linux and its first time that I am using of it but I have a problem how can I install exe files in linux I searched on the net and I undrestood that its not possible because exe files are for windows but you can install exe files with WINE so I got wine.exe but again its exe how can I install wine? I am using of "Mandriva Linux" on VMware Workstation. Thanks
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
 |
in the name of god hello depending on your linux os: if you access to internet only type: sudo apt-get install wine password: type your password then wine itself will be installed. valhamdoolelah.
|
| Sign In·View Thread·PermaLink | 1.00/5 (1 vote) |
|
|
|
 |
|
 |
This is error:
aljaz@aljaz-laptop /Desktop$ nasm -f elf vhod.asm aljaz@aljaz-laptop /Desktop$ ld -s -o vhod vhod.o ld: i386 architecture of input file `vhod.o' is incompatible with i386:x86-64 output ld: warning: cannot find entry symbol _start; defaulting to 00000000004000b0 vhod.o: In function `main': vhod.asm:(.text+0x7): undefined reference to `printf' aljaz@aljaz-laptop /Desktop$
Here is code:
bits 32
extern printf global main
section .data message db "hello, world!", 10, 0
section .text main: pushad; push dword message call printf; add esp, 4; popad;
ret
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Some suggestions:
1. It seems that you created an 32-bit application but try to compile it as an 32/64-bit application. Try to add the parameter -m32 to ld.
2. I think you have to link your vhod.o with an library that holds the printf function.
3. At last, try to solve the warning by calling your main start or adding -e main to the ld statement.
I hope that helps and be aware this are only suggestions cause I never developed for linux.
Greetings Covean
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
|
 |
|
 |
thangvel wrote: any one tell me how to install the linux os to my pc
From a Linux distribution DVD.
|
| Sign In·View Thread·PermaLink | 5.00/5 (2 votes) |
|
|
|
 |
|
 |
Hi,
I am very new to linux. I have installed Fedora 11 on my laptop. I have installed yahoo messenger but it does not get start. When I click on log on,It give error "le gdkfont.c: line 239 (gdk_font_ref): assertion `font != NULL' failed." on the console. Can anyone please help me to solve this?
Thanks and Regards, Vishal Soni
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
A few days ago I noticed that, when updates are available, the usual icon in the system tray doesn't appear. Everything else works perfectly, whether I update through system settings, or through the console... I just don't get a notification when an update is available.
Any idea why?
Got it. I was missing some python bindings.
Where it seems there are only borderlines, Where others turn and sigh, You shall rise!
modified on Wednesday, September 2, 2009 2:32 PM
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |