Search found 11 matches
- Sat Aug 23, 2008 11:47 am
- Forum: NetBurner Software
- Topic: expected unqualified-id
- Replies: 0
- Views: 4886
expected unqualified-id
Everything was going along fine, then while writing header files using C++ classes. Then while writing the functions for the classes and making calls into header files such as fat.h and fileutils.h I start getting the error msg ""expected unqualified-id". The error points to the extern "C" line in ...
- Sun Aug 17, 2008 3:31 pm
- Forum: NetBurner Software
- Topic: Breakpoint in cpp not working
- Replies: 1
- Views: 3974
Breakpoint in cpp not working
The debugger will not recognize breakpoint in my cpp file. BP's work fine in main.
- Sat Aug 09, 2008 11:51 am
- Forum: NetBurner Hardware
- Topic: Using flash to store variables
- Replies: 6
- Views: 8759
Using flash to store variables
Is there any routines that would allow me to stream variable to flash memory on the MOD5272 so that I can persist them? The number of bytes I would need would be well under 64K making EFFS and the physical implementation of a MMC card on my hardware overkill.
- Fri Aug 08, 2008 5:44 am
- Forum: NetBurner Software
- Topic: DWORD not defined
- Replies: 3
- Views: 6168
Re: DWORD not defined
The proper include fixed it.
Thanks.
Been using this tool chain now for two weeks.
First time this came up.
Sucks, that problems presents the best opportunity for me to learn.
Thanks.
Been using this tool chain now for two weeks.
First time this came up.
Sucks, that problems presents the best opportunity for me to learn.
- Wed Aug 06, 2008 6:53 am
- Forum: NetBurner Software
- Topic: DWORD not defined
- Replies: 3
- Views: 6168
DWORD not defined
This morning I awoke to a new error in a cpp file.
C:\Nburn\include/serial.h:119: error: 'DWORD' has not been declared
I removed all calls to the serial.h file and still got the message
if I remove the #include reference to serial.h the build is happy.
The same #include directive is in main.cpp ...
C:\Nburn\include/serial.h:119: error: 'DWORD' has not been declared
I removed all calls to the serial.h file and still got the message
if I remove the #include reference to serial.h the build is happy.
The same #include directive is in main.cpp ...
- Mon Aug 04, 2008 6:14 am
- Forum: NetBurner Software
- Topic: C++ 101 - "Seeing" a Class variable in main.cpp
- Replies: 2
- Views: 5270
Re: C++ 101 - "Seeing" a Class variable in main.cpp
What a difference a good night's sleep makes.
The answer to my own question is that I have to but the definition of the class within the extern brackets of both my.cpp and main.cpp
might be simpler just to create a .h file
The answer to my own question is that I have to but the definition of the class within the extern brackets of both my.cpp and main.cpp
might be simpler just to create a .h file
- Sun Aug 03, 2008 3:42 pm
- Forum: NetBurner Software
- Topic: C++ 101 - "Seeing" a Class variable in main.cpp
- Replies: 2
- Views: 5270
C++ 101 - "Seeing" a Class variable in main.cpp
I have defined a class in a cpp file other than main.cpp.
But I cannot get the compiler to recognize it when I declare or try to instantiate it in main.cpp.
What do I need to do in my classxxx.cpp for the compiler to see the class in main.cpp.
The class is visible in the project view and outline ...
But I cannot get the compiler to recognize it when I declare or try to instantiate it in main.cpp.
What do I need to do in my classxxx.cpp for the compiler to see the class in main.cpp.
The class is visible in the project view and outline ...
- Fri Aug 01, 2008 7:23 am
- Forum: NetBurner Software
- Topic: C++ Scope
- Replies: 3
- Views: 5909
Re: C++ Scope
Thanks for taking the time to reply and the book recommendation.
I guess I am still somewhat confused.
I had always thought that a variable instantiated inside a function was "In scope" while you were in that function.
UDPPacket pkt is instantiated inside main() and all the following statement ...
I guess I am still somewhat confused.
I had always thought that a variable instantiated inside a function was "In scope" while you were in that function.
UDPPacket pkt is instantiated inside main() and all the following statement ...
- Wed Jul 30, 2008 6:10 am
- Forum: NetBurner Software
- Topic: C++ Scope
- Replies: 3
- Views: 5909
C++ Scope
I am somewhat familiar with the older version of Borland C++ but;
In the UDPPacketClass example, there is the following comment and code:
// Note that the UDPPacket instance below is enclosed by '{'
// braces to handle the scope of the data buffers used by
// the C++ class instance ...
In the UDPPacketClass example, there is the following comment and code:
// Note that the UDPPacket instance below is enclosed by '{'
// braces to handle the scope of the data buffers used by
// the C++ class instance ...
- Wed Jul 30, 2008 5:38 am
- Forum: NetBurner's Eclipse IDE
- Topic: Debug connection actively refused
- Replies: 2
- Views: 8047
Re: Debug connection actively refused
Thanks for the reply.
You are correct.
The newbe mistake was that I assumed that examples were written to allow users to run debug and watch what is happening. I was importing examples and trying to run debug before reading all the code.
When I looked into main I found that the example I was ...
You are correct.
The newbe mistake was that I assumed that examples were written to allow users to run debug and watch what is happening. I was importing examples and trying to run debug before reading all the code.
When I looked into main I found that the example I was ...