Here is a simple header file for six different programs that used to work right, but then my files also include other files. This needs to get changed so that if the dependencies change the files that include those dependencies get updated.
all: load list show add delete btree
%: %.cpp
g++ $< -g -o $@
I have seen many programs consisting of structures like the one below
typedef struct
{
int i;
char k;
} elem;
elem user;
I have seen this many times. Why is it needed so often? Any specific reason or applicable area?
I am guessing from # that it is only a compile-time utility. How can it be used in C/C++ programs?
Did not find much about it on the internet. Any links would be helpful.
I am reading a book which says (if I am not getting it wrong) wrapping some code with @autoreleasepool statement enables the ARC. First of all is this the case ?
My second concern is when I am doing some iOS example programs, although I enable ARC when creating a new project, I never see this directive being used anywhere (in the automatically generated code). Does this mean that ARC is not being used ? Any ideas/pointers is appreciated.
Hello,
Is it possible to run compiled C and C++ Files on a mac without opening and running it in terminal?
E.G is there a separate GUI i can use for executing compiled c programs?
What is the name of the Windows System Menu button?
I am talling about the round glass-orb looking object (on a Windows 7 operating system) that appears in the lower left of the screen -- usually -- that you can click on to see the menu selection of programs on your compter.
I just tried something in MSVC 2010 on my 32-bit machine here and found out that I can use __int64 in my programs - which actually work!
How is that possible?
I would like to get updates Java and related technogies news on every day so that I will new features of java, even I want to improve java skills by learning existing or new things which is related to logic, therory, programs,
How do I get all above details & give me links , so that I will subscribe to it
I love desktop and web programming, but I would like to be able to program some sort of small device I can then carry with me. Most mobile phones are quite hard to create programs for as they want you to buy the things they offer instead.
What mobile-phone/gameboy size devices would be suitable for my goal?
hi....
im doing a network programs using Socket.
im receiving files and texts through Sockets as bytes,
after receiving it i want to find what i received (i.e)file or text
thanx in advance.
I have been in an assumption that multithreading gives a lot of flexibility and power to make efficient programs. But I am wrong. Multithreading is sometimes not desirable as it will create serious impact on the way the actual program behaves.
My question?
I am not sure of when to use and when not to use multithreads in applications.
Please update this thread and give your opinions on multithreading and suggestions on its usage scenarios.
Hi i want to know what programs installed on my system, i use MsiEnumProducts and MsiGetProductInfo functions, but not all application what i can see in "Add/Remove Program" i get by this functions.
As far as autotest is concerned, how do you do autotest for C++ programs? are there any autotest framework that can be utilized to do unit test and integrate test?
I have built two programs in C# and I am sending simple strings through the sockets. This is fine for the moment but in the near future I will need to send more complicated items, such as objects down the sockets and eventually files.
What steps would I take to do this? What purpose do the buffers serve for the sockets/streams? Apologies if I am a little vague.
I want to know from where the index of a string and an array starts from.
I am getting a lot of confusion while making programs.
While calculating string length of a string is the null character also counted.
I have this class, with the atribute 'word'
class Node {
char *word;
Inside the Node constructor, I do this asignation:
word = new char[strlen(someword)];
In the destructor of the Node class, I try to delete the contents pointed by word:
delete []word;
I obtain the next message after executing the programs:
"Heap block at 003E4F48 modified at 003E4F51 past requested size of 1"
What am I not doing well?
I have no idea about AJAX programming features. I just know that it is Asynchronous Javascript and XML.
Please help me in knowing about this language.
I have gone through many AJAX tutorials. But none of the programs are running. Why I don't know.
Do we save the file with .HTML extension?
We are switching from a SQL cluster to a mirrored solution. The problem is that we have a bunch of programs that would have to switch connection strings to handle the failover. Is there any way the we can set up a redirect or proxy that would take any legacy requests and forward them to the mirrored solution?
How to print "-n", "-e" or "-neeenen" from bash (without a newline at the end, without invoking of external programs)?
Q="-n"
echo -n "$Q" # fail
echo -- "$Q" # fail
cat <<< "$Q" # fail, also starts external program
printf -- '%s' "$Q" # success, but starts external program
I two programs running, one in Python and one in C++, and I need to share a two-dimensional array (just of decimal numbers) between them. I am currently looking into serialization, but pickle is python-specific, unfortunately. What is the best way to do this?
Thanks
Is there a static code analyzer for PHP files? The binary itself can check for syntax errors, but I'm looking for something that does more, like unused variable assignments, arrays that are assigned into without being initialized first, and possibly code style warnings. Open-source programs would be preferred, but we might convince the company to pay for something if it's highly recommended.
I've seen occasional references that claimed a graphics card's video memory was part of Windows XP's memory address space - is that true? If you have 4GB on an XP system, and add a 1GB graphics card, does that mean Windows only has 3GB for programs?
Hi
How can I detect that application was automatically started (auto-start when device turned on) or user has started it manually (from Programs etc)?
Thanks