| | |
HEELLLPPPP!!!! Due Tomorrow 9-14-04
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
•
•
Originally Posted by cford
How do I make a greeting a named constant rather than a literal constant?
C Syntax (Toggle Plain Text)
#include <stdio.h> int main( void ) { const char named_constant[] = "string literal initializer"; puts("literal constant"); /* (1) */ puts(named_constant); /* (2) */ return 0; } /* my output literal constant string literal initializer */
"One of the methods used by statists to destroy capitalism consists in establishing controls that tie a given industry hand and foot, making it unable to solve its problems, then declaring that freedom has failed and stronger controls are necessary." --Ayn Rand
•
•
•
•
Originally Posted by cford
How do I make a greeting a named constant rather than a literal constant?
Welcome to TechTalkForums. In the future, please name your thread something meaningful. "HEELLLPPPP!!!! Due Tomorrow 9-14-04" doesn't tell us anything about what you need. "Making a named constant", or something similar would have been more appropriate.
Alex Cavnar, aka alc6379
![]() |
Similar Threads
- Othello Project Due tomorrow (Java)
- Need Help Please Its Due Tomorrow Afternoon!!!! (Assembly)
- quadratic equation (C)
- Operating Systems assignment (C++)
Other Threads in the C Forum
- Previous Thread: using crt debug in visual studio.net
- Next Thread: 'times' coding problem?
| Thread Tools | Search this Thread |
Tag cloud for C
adobe ansi api array arrays bash binarysearch centimeter char convert copyanyfile copypdffile cprogramme createcopyoffile createprocess() csyntax directory dynamic fflush file fork frequency getlasterror givemetehcodez global graphics gtkgcurlcompiling hardware highest homework i/o ide inches infiniteloop initialization interest kilometer km lazy linked linkedlist linux linuxsegmentationfault list locate logical_drives match matrix meter microsoft motherboard multi mysql open opendocumentformat opensource openwebfoundation owf pattern pdf performance pointer pointers posix power problem probleminc program programming pyramidusingturboccodes read recursion recv repetition scanf scheduling segmentationfault send shape single socketprograming socketprogramming spoonfeeding stack standard strchr string strings structures suggestions system systemcall test testautomation unix user voidmain() wab win32api windows.h






