Hi i need to write some Graphic interace program that allow keeping, finding and adding data about some topic (something like database). Here is a example (zoo manager) http://imageshack.us/a/img96/5070/prog2projekt.png.
I have never working on that kind of preject before ?
Does anyone has some simmilar program with source code ? It would be very helpful to me.
Thanks
Related
I work on a Bash reproduction in C for my school. I try to schematize how I will code the pipe | feature and I wanted your advices. I know that there is a lot of solutions for this on the Web but i don't want the code but the way to do that I want.
I launched good old paint to show you my vision :
I tried to code a demonstration to prove the concept but it is a fail.
I thought that creating just one pipe for all execves is a very simple solution but i don't know if it could work.
What i'm asking is a more experienced vision to tell me if it could work or not.
Thank you for reading me,
I'm doing an Introduction to C Programming course at the moment, only just started, and I am running into an issue I just can't get around. The course instructor is no help, and I know the issue is extremely basic, but every solution I find online assumes good working knowledge of the software. I don't have that, not yet anyway.
I'm simply trying to run the following code:
#include <stdio.h>
int main(void)
{
printf("Hello");
getch();
return 0;
}
This is, I believe, supposed to display "Hello" on the screen when I run it. But when I press F5 to debug I get the following message:
"Unable to start program. '[file path].Project1.exe' The system cannot find the file specified."
So there needs to be a .exe file there, but how do I make one? I've searched through many other answers to similar issues across the web, but all of them make reference to things I simply don't understand yet, so I'm asking here for a layman's explanation of how to resolve this.
Thanks so much to anyone who can help.
In your output window you are currently seeing that message in the Debug, right? You need to change that to Build or (I prefer) Build Order (which keeps the multi-threaded items in a sensible order for output). This will show you why your program didn't build - hence you have no "exe" to run.
I want to make automatically screenshots of our visualiziation.
I managed to switch through the pictures.
But getting the screenshots is quite difficult.
I found an quite easy Powershell script that works fine.
But I have to call it with c Code due our visualiziation.
It offers only "Winexec" and "ProgramExecute".
I didn't manage to find the right code...
WinExec("Powershell -/Skript -Param1 -Param2", SW_SHOWNORMAL);
or
unsigned int ProgramExecute(char* Program_Name)
Has anybody an idea where I can find the right order?
Thanks :)
I use the fine software "greenshot" with automatic save.
No coding and almost anybody can create screenshots of the visualization ;)
..and sometimes powershell is not installed, or the security setting of the policy prohibits this kind of scripts from running correct...
//PerD
I am a beginner and I want to understand some basics of Client-Server applications written in C (I understand web based server-client applications written in Java, PHP ,etc).
To be more specific, I am talking about ZABBIX which is a client-server tool (Zabbix_server is a server and zabbix_agentd is a client, both written in C).
Zabbix_server asks zabbix_agentd for data and zabbix_agents responds accordingly.
I have imported zabbix codes on Eclipse and have tried to debug to understand codes. A complete execution of zabbix_agentd on Eclipse just launched the daemon successfully and created a child process. But when I check the log, I find that different functions are being called which had not come in the way while debugging. It means, these functions are called by some process, may be inetd, etc. (correct me if i am wrong). I tried to find inetd on RHEL 6.4 OS, but it was no where found (using "service inetd status", "find").
So, how those functions are being called? Can anyone please give me ideas about that?
Please suggest me how to use those calling requests to further debug my client application.
One thing I have noticed while debugging Eclipse is that, I get below error after calling fork():
No source available for "fork() at 0x36ca0acbc0"
I couldn't understand the impact of the above error as the daemon keeps on working after this error also.
I browsed through similar error different people getting and found that their binaries were not linked to sources. However, my binaries are linked to sources also. I mean, expanding the binary of zabbix_agentd shows several *.h and *.c files.
As this error terminates the debugger immediately but the line of code at this occurrence is the last line of the source file also. So, I cannot say if I need to take care for this error.
Is this error the reason why I am not able to view other functions being called?
Please let me know if more information is required.
Thanks in advance.
Regards,
Rohit
I'm Interested in writing gedit-plugins in C. I've checked Gedit/NewMDIPluginHowTo
...but haven't had any luck with it.
How can I get more information about writing gedit plugins in C?
If you're willing to use Python instead, here is a tutorial for writing gedit plugins in Python.
The only tutorial is the one you already found :
Gedit/NewMDIPluginHowTo
I know it can be hard to understand in a first view, but if you read it a few times and give it a try with a basic example, you should be able to achieve getting results quite fast.
Is there something specific that you don't understand?
You can also download some examples of plugins available in C:
https://gitlab.gnome.org/GNOME/gedit/-/tree/gnome-2-30/plugins
Well, you can always email some of the core Gedit developers about your question, I'm sure they have something to give. Try find them via Gedit: Help>About>Credits.
Good luck.