Member Avatar
Hello, I am having two problems with three C sursor screens I coded, using the curses library. The first problem is that a field will not highlight when I move the cursor to that field, even though I use the wattron command to highlight it. I can get the highlight …
by JohnMcPherson in Software Development ()
Member Avatar
I have been struggling with this for two days now, with no luck. I have a C ... array ... I also have a pointer to pointer to char ... So I want to somehow store ... to ... or somehow convert ... into pointer to pointer to char . …
by manaila in Programming ()
Member Avatar
Hi All, In below code snippet multithreading is used to take care of multiple requests from client. I beileve creating and detaching thread will eat lots of CPU cycle and it won't improve the CPU utilization as well. Can anybody let me know if thread pool can be used here …
by can-mohan in Software Development ()
Member Avatar
... this is the error message for this code 7|error: 'uint8_t' has not been declared 9|error: expected unqualified-id before '{' token
by directorabbey in Software Development ()
c++ c
Member Avatar
Hello guys, I have this structure with another double pointer structure inside that I need to pass through named pipes with the function WriteFile from WinAPI. ... I am passing it like this ... And I'm writing the board like this ... When I receive it on the client side …
by mcjiwe in Programming ()
c
Member Avatar
Hello, I am having a problem with the fgets statement not reading data correctly. It reads most of the data I need without a problem, but three lines of data are not read correctly. The code in question follows: ... The data that this code is reading follows: P7 1 …
by JohnMcPherson in Software Development ()
Member Avatar
Hello, I am developng a screen for a state to enter special rates to augment its unemployment trust fund. I have the screen coded, and it compiles cleanly, but when I try to run it, the screen does not come up. There is no error message and no file I …
by JohnMcPherson in Software Development ()
Member Avatar
Guys i cant imagine about how i'm gonna calculate that one... help me out please
by Quezia in Software Development ()
Member Avatar
I need help with the following program: Create linear representation of stack with size N. Stack contains N binary search trees with serial number of the position on the stack from 1 to N and with the minimum p and maximum q nodes in a tree. Values p and q …
by negru in Programming ()
c
Member Avatar
I am trying to reverse a word using pointers but the problem that the following line cause error:access violation writting location 0x000... ... the full code ... *microsoft compilar any help ?
by Yahia Farghaly in Software Development ()
Member Avatar
Hi there, I am an undergraduate studying computer science. Our lecturer gave us an assignmnet to use Dapfor grid control display both authors name and their book. I don't know where to begin from. Can anyone put me through; maybe with an example.
by emilyjackson in Programming ()
c c# xml
Member Avatar
fatal error: pwd.h: no such file or directory, I got this error when trying my code when using the following library ...
by gugushe in Programming ()
Member Avatar
i got the following error when compiling a word count program, **error: expected unqualified-id before '.' token.; this error is at line 5 //class Split_file.hpp. ...
by gugushe in Programming ()
c c++
Member Avatar
hi friends this small compact code is for printing any number of prime numbers in C Language, you just have to change the last line's 500 to any number you want, here some points necessary to understand the code are as follows- 1.> variable torf stands for true or false,in …
by shubhamgore in Software Development ()
Member Avatar
Hi all. I am new in C language. I am learning to program by using C for my first step. Now I am reading a chapter about looping (while, for, do.. while, nested loop). In my exercise book, the question is about to: Using nested loop to print out this …
by lanzslumber in Software Development ()
Member Avatar
Hello, I'm just new here. I wanted some people to help me with my project. We were tasked to do a game using Turbo C. I already found some games that has source codes like snake, tic toe, etc. I wanted to be slightly different 'cause I know my classmates …
by Louie_Rave in Software Development ()
Member Avatar
I wrote this code : ... Why is a 8 characters long and set to integer equal to 8, but c and d are both equal to 7, but they too are 8 characters in length ?
by CodyOebel -2 in Computer Science ()
c
Member Avatar
I have four array of strings. I would like to print out the strings with this formatting: ... It gives this output: ... How would I go about ignoring the nulls when printing? I am not sure how to do this.
by COKEDUDE 13 in Software Development ()
Member Avatar
Hello all hope all is well, Im new to c# and new to the site so bare with a noob :). any way I have an assignment and Im running in to a problem where I don't know how to have c# read a text file and turn the numbers …
by Adam_28 in Computer Science ()
Member Avatar
Hi there. I've been trying to wrap my head aound this seemingly simple problem. I am write a game and I need to show on the screen the number of seconds the game has been playing for. This is the best way I can come up with but it doesn't …
by Riley_1 in Programming ()
c
Member Avatar
Write a program that accepts five input values and stores them into an array. The program should then display the average of the five numbers. Finally, the program should display all the numbers in the array that are larger than the average of the five numbers. So I did the …
by Maria_15 in Programming ()
Member Avatar
In the str char array below I would first like to locate the first math symbol I see, then I would like to count backwards and remove whatever is between the previous three "" and remove the three "". Can I please get some ideas on how to do this? …
by COKEDUDE 13 in Software Development ()
Member Avatar
How does this compile? I forgot to set my second condition in my second for loop and it compiles. ...
by COKEDUDE 13 in Software Development ()
c
Member Avatar
Hi, I'm still a beginner for C programming. In my assignment I've encountered this problem and I know is a linker problem but I'm not sure how to solve it. I'm trying to link 3 files which 2 .c files and 1 .h file. Below are the codes for my …
by yhh in Software Development ()
Member Avatar
Here is a small e-Book for your attention: ... . This book is intended for C/C++ programmers, but it could be of interest for developers using other languages as well. What makes the book peculiar is the descriptions of real, not theoretical cases at the base of it. Each chapter …
by Andrey_4 in Software Development ()
Member Avatar
hello, how to setup eclipse IDE to use visual c/c++ compiller. i have visual studio express on my computer i guess this include c++ compiller what probably do compile c. so i would like to know how can i use the the visual c/c++ compiller in eclipse IDE thanks you …
by chrisschristou in Programming ()
Member Avatar
I have some data in varbinary(max) from database and I have exported it to physical files. Some of these files were in jpeg so I was able to just add an extension .jpg to it and it opened. The rest are not jpeg files. I have tried almost all the …
by Haider85 in Programming ()
Member Avatar
Hello i have struct dynamic array like this Hello i have struct dynamic array like this ... now i have another struct with element type :struct matrixCov * data now when i type this line ... when k=0 copied well but from k=1 its doesnt work what can be the …
by humble55 in Programming ()
Member Avatar
Design a system for an electronics retail store which sells different brands of electronic items like TV, Fridge, Oven, Music System of different brands and styles. You develop a menu driven system which looks like as given below: s. Sell g. Generate Bill c. Cancel the sale r. report for …
by Strong_1 in Software Development ()
c