473,396 Members | 2,024 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

C Question > Missing identifier

I keep getting:
lr_strings.h (29): missing identifier
lr_strings.h (59): missing identifier
lr_strings.h (59): syntax error; found `0' expecting `;'
lr_strings.h (59): unrecognized declaration
lr_strings.h (59): unrecognized declaration
lr_strings.h (60): unrecognized declaration
lr_strings.h (60): warning: empty declaration
c:\\documents and settings\\hmu7s5t\\local settings\\temp\\noname59\\\\combined_noname59.c (5): 6 errors, not writing pre_cci.ci
Here is where it is from:

lr_strings.h

const char* 0=
"";

Any thoughts - Thanks in advance!
Dec 14 '07 #1
4 3343
oler1s
671 Expert 512MB
0 is not a name. It's a number. You can't start variable names with a number, but it's outright nonsensical to have a number as a name...

I'm betting you also have a general phobia of making variable names anything longer than...1 letter?
Dec 15 '07 #2
No phobias, found solution in another part of the code. Tks...
Dec 20 '07 #3
hi what was the solution
Dec 21 '11 #4
duynk
1
Hi,

My solution is:
const char* a0=
"";
Aug 28 '14 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: Herman Kuiper | last post by:
Hi, The HTML at the end of this message will render erroneously on IE (at least 5.0) and prperly on Mozilla (as I've been told). That does not surprise me, but I *would* like to find some...
19
by: benzwt | last post by:
I use the following function to hide a <div> named one. function hideObject() { if (ns4) { document.n1.visibility = "hide"; } else if (ie4) { document.all.style.visibility = "hidden"; }...
2
by: Brett | last post by:
Hi, I'm compiling an old project under the 'new' visual studio 7.1.3088. I changed the line: #include <iostream.h> to #include <iostream> and now I get a stack of errors, some of which...
12
by: plize | last post by:
Hello people, I have C++ code compiled with GNU compiler gcc version 2.95.3. which I need to edit and run under windows. (I have access to VS6 and VS.NET) What approach is easier? 1) Rewrite...
2
by: bochengnever | last post by:
( ) and -are left to right in the same order . eg: struct foo { int a ; void * p; } main() { struct foo* A= malloc(sizeof(struct foo));
49
$
by: google | last post by:
what dose a $ do in javascript, i have been given a bit of code and there are $'s all over the place, can someone explain their uses
3
by: Demoris | last post by:
I have a class that I believe should work. I've compared it to previous programs I've written, compared it to examples from my professor, to examples in my textbook, but can't see why I get the...
1
by: sravankumar | last post by:
Hi, I am trying to execute Stored Procedure that is in the other user. Geting the "PLS-00201:identifier' <User>.<Procedure Name> ' must be declared" . what are the pre requsites to access the...
3
by: Fabiano Maciel | last post by:
Hi, I'm porting one of the dll from vc6 to vc8 and I have one problema about CComModule. My code use in stdafx.h: extern CComModule _Module and in my main module I use:
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.