Member Avatar
I'm having difficulty translating C code that loops through an array of grades. The C code is as follows: ... **Any help is appreciated. What I have so far is this: ** ...
by Kunyepa in Programming ()
Member Avatar
One of the best tips I learned long ago was to turn on all warnings and error messages from the compiler or development system. Yet last week, once again a big system was being worked on and the bug was tracked down to uninitialized variable. Now this isn't specific to …
by rproffitt 96 in Software Development ()
c c++
Member Avatar
Enter 10 student grades and print the total number of passing and failing grades entered
by Joshua_14 -3 in Software Development ()
c c++
Member Avatar
Hello guys, I am Toni Hacker, i browsed through this forum and I saw you guys really talk more about programming. i wanna make an operating system but i need a team. please its gonna be an open project. I need your advice and help. anybody care to help
by Cyberglobe in Software Development ()
Member Avatar
iam asking about chimical equations how can i programme it to the computer how can i make the computer understand that c+o2=co2 or naoh + hcl =nacl+h2o i mean how he understand that acid +alkail= water +salt
by المهندز in Programming ()
Member Avatar
hello i just get started with java so i have a question where the difference from c/c++ and the famous lovely java begin, the function or better method, so in c/c++ we can make a function prototype on top the main and then define it later like this ... i …
by chrisschristou in Software Development ()
Member Avatar
A simple graphical year calendar. Compiler: Turbo C In main current year is set manually, for more generic way use date function to get current year.
by Luckychap 68 in Software Development ()
c
Member Avatar
I always get confused with while when I need to use multiple condition. I believe this is correct. ... Is there something special I need to do with while loops? If statements always seem to behave like I expect with multiple conditions. Is there a good rule of thumb to …
by COKEDUDE 13 in Software Development ()
c
Member Avatar
Hello, I am getting a linked error when I changed file name to cpp. 1>main.obj : error LNK2019: unresolved external symbol "void __cdecl ICA(double * *,int,int,int,double * *,double * *,double * *,double * *)" I am using objects in my new code but this function which was there earlier is …
by danibootstrap 13 in Software Development ()
Member Avatar
Is this the correct way to print char*? *I know c has the value I want because of the print statement below it. The o is not giving the value that I expect. ...
by COKEDUDE 13 in Software Development ()
c
Member Avatar
I am trying to get the first value of a null initialed array of string.I have tried every method I can think of with no luck. I either get warning, errors, or a segmentation fault. Whats the correct way to print the null value and use it in the if …
by COKEDUDE 13 in Software Development ()
c
Member Avatar
In this example what does this example in the malloc() what does the UL do? ...
by COKEDUDE 13 in Software Development ()
c
Member Avatar
I have seen a few different ways of doing malloc error checking? Is one way better than the other? Are some exit codes better than others? Is using fprintf with stderr better than using a printf statement? Is using a return instead of an exit better? ...
by COKEDUDE 13 in Software Development ()
c
Member Avatar
Member Avatar
Assume that a file exists. How to replace the occurrence of a character with another character?
by negru in Programming ()
c
Member Avatar
I need some ideas for dealing with array of strings. ptr contains my array of strings. The goal here is to combine certain strings when the conditions of the for loop are met. The problem is I need remove the strings that get combined with another string so I don't …
by COKEDUDE 13 in Software Development ()
c
Member Avatar
Write a program that will print two closest integers in an array (if there are more than one pair with the same distance, then print all pairs). ... In the following program I am using bubble sort algorithm, but don't know how to find the differencefor each pair: ...
by negru in Programming ()
c
Member Avatar
Anyone have flowchart or algorithm of Snap Card game which can let me to refer since I need it for my assignment. It will be very helpful if provided me the source. Thank you
by ressenjack in Programming ()
c
Member Avatar
Hello, I try to catch the HTML code from a webpage after I have logged in to a page. HTML is returned but that is the orignal HTML only BEFORE I logged in. For example I try to find "Log out" in the string returned which exists on the webpage. …
by Darth Vader in Programming ()
c c# c++
Member Avatar
hello to everybody. i'm writing a knight tour program. in this code, you enter the dimension of the board and the frst place of the knight and then ask the user to what to do! n = next p = print (the other are not completed yet) here's the code …
by ratonhnaketon in Programming ()
c
Member Avatar
Am creating application and l need to fill a combo box list. However, l was able to do all and is working but whenever l filling the last combobox, l get an exception as below. First-chance exception at 0x7789dba9 in Unical PTUME.exe: 0xC0000005: Access violation reading location 0x00000001. Unhandled exception …
by Evans_1 in Software Development ()
Member Avatar
I don't understand how to debug the following code "on paper" (without a compiler): ... How to evaluate values of a macro SUB?
by negru in Programming ()
c
Member Avatar
I am having a hard time comparing my if else statements and getting it right. I want to ask for male or female, and if male then I can respond "Hello, Mr...." and if it is female then I can respond "Hello, Mrs...." ...
by Michael_48 in Software Development ()
c c++
Member Avatar
Hello, I use the webkitbrowser which is simular to the webbrowser. Now on a website, I want to programatically insert a string into a textBox. This I have succeeded to do like this: ... After this I will need to programatically click a button that will check that "hello" is …
by Darth Vader in Software Development ()
Member Avatar
Write a program that will print adjacency matrix of a directed and weighted graph. Weights are positive real values, and graph is strongly connected. Then, print values of two vertices which indices are read (values of each vertice are functions: sin(index),cos(index),index^2,sqrt(index)). How to check if a graph is strongly connected? …
by negru in Programming ()
c
Member Avatar
struct PCB* handleProcessArrival_PP(struct PCB *processhead,struct PCB *processtail,struct PCB *currProcess,struct PCB *newProcess,int currTime){ if(currProcess==NULL){ newProcess->executionStartTime = currTime; newProcess->executionEndTime = currTime+newProcess->totalBurstTime; newProcess->remainingBurstTime = newProcess->totalBurstTime; if(newProcess->processID==processhead->processID){ processhead= newProcess->next; printf("processhead in case 1 %d \n",processhead->processID); } currProcess=newProcess; printf("***current process = new process%d \n",currProcess->processID); contents(processhead); return currProcess; //return processhead; / } struct PCB handleProcessCompletion_PP(struct PCB …
by ayeswarya in Software Development ()
Member Avatar
I'm writing a simple program to figure out how Linked List works, put for now I'm stucking. I don't know which line cause the error or I had a mistake in thinking. I run my program by my hand and it works fine. Put when run, it gets error at …
by Gà_1 in Computer Science ()
Member Avatar
Hello everyone, I am trying to write an object loader in c++. Currently, I have a file that is made up of many sub objects and I am having a little difficulty figuring out how to process the data. First of all, here is an example of part of the …
by sirlink99 44 in Game Development ()
Member Avatar
I need some explanation with the logic in the following program: Create a data structure such that it contains of three singly linked lists that are connected to one central node.i-th list can only have elements such that list_element % 3 = i. First element of every list represents it's …
by negru in Programming ()
c
Member Avatar
Hi, I would like to learn dbus as i encounter it more in my daily work.The problem is that the applications already using it are very complex and there is very less scope to understand exact use of DBus communication. I know other IPCs like message queue, socket etc, the …
by clife in Programming ()
c c++