Search Results

Search: Posts Made By: cbreiny
1,854
Posted By rainboisterous
echo -n "enter a word:"
echo -n "enter a word:"
1,854
Posted By Scrutinizer
printf "%s: " "Enter a word"
printf "%s: " "Enter a word"
Forum: Programming 10-24-2010
3,820
Posted By Corona688
You're using printf. you need to include...
You're using printf. you need to include <stdio.h>

Your program is a hairs-breath from being pure C, which has a few advantages. Replace cout with printf, if(string_object == other_string) with...
Forum: Programming 10-23-2010
3,820
Posted By JohnGraham
Are you sure you're entering "-c billy" and not...
Are you sure you're entering "-c billy" and not "-n billy"?

Also, one of your lines:


if(optarg=="billy")


will result in undefined behaviour. Try changing it to "if...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 09:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy