15,552 Topics

Member Avatar for
Member Avatar for phuocle94

This is my Code C++ for my assignment. Please help me to convert it to C code. Thank you! #include<iostream> using namespace std; #define N 10 int main() { int array[N],p,q; for(int i=0;i<N;i++) array[i]=i; cout<<"For instance, given elements are "; for(int i=0;i<N;i++) cout<<array[i]; cout<<endl; int r=0; while(cin>>p) { cin>>q; if(p>=0 …

Member Avatar for rproffitt
0
110
Member Avatar for kevlincred

Hi All, I would personally looking for someone from the US for a partnership. This will be something like a part-time job that needs 5 hrs per week. Requirements: US citizenship for legal issues. Basic understanding of technical - Junior Full-stack (web and mobile development) Experience working remotely. Open-minded and …

Member Avatar for rproffitt
0
72
Member Avatar for JonathanSimon

I’m trying to create a program that accepts a string of characters, which should be able to perform push, pop and peek. The code is running, but the program only accepts the first letter of the string. I’ve tried many different ways to implement the code, but I’m still not …

Member Avatar for Reverend Jim
0
161
Member Avatar for Cindy20

Can you help me decrypt the message with the given information. I figured out the first line is using Xor ciphers but how do I figure out the rest? Y[ZU[XZWZ\XXZjZ[[WWVWU Ogaqkxpgbqbfiof! Cyw'ss bun! Zqksxl cywd lnepwvs uozneh. Qjc mgabiy nfx vmz-djrhkfalfq. Xnjfx ai qjvi viqi uat pgw odjwp. The radio …

1
145
Member Avatar for veli can
Member Avatar for Excellent_1

Hello guys, It my frist topic in this forum so i hopeI hope you like it?? In this topic we w'll learn how to check internet connection using a simple code. frist make a new project And add a label and timer . second Double click on timer to type …

Member Avatar for Emmason
1
3K
Member Avatar for Ryan_43

https://payloadz.myshopify.com is my new site, im a computer science student i started it to showcase the vulnerabilities in linux

Member Avatar for rproffitt
0
34
Member Avatar for J_7

This program is not displaying the "Student Statistics" and Name in the output. Please solve this issue. Thanks Program Link: https://www.daniweb.com/programming/software-development/threads/469457/project-title-student-record-registration-using-linked-list

Member Avatar for rproffitt
0
68
Member Avatar for anveshi

Hi friends. Please tell me how to display a image file on the screen in C? If u r kind to me, send the code snippet.

Member Avatar for rproffitt
0
14K
Member Avatar for Hithendra_1

Mr.X owns a small business in a region with poor law-and-order. Recently his warehouse has been plagued by thieves. Gangs of thieves raid over his warehouse from time to time, stealing his raw material, affecting his business. He has studied the occurrences and noticed it that they are cyclical. Assuming …

Member Avatar for Dani
0
84
Member Avatar for Yusuf_13

basically my sister had a ipad ,and she was using for a long time and was enjoying using it and she forgot her ipad password. there was no way to reset the password without going to shop and we couldn't be bothered to take to pc store to reset the …

Member Avatar for Yusuf_13
0
202
Member Avatar for jliamnrich

Hello friends. I am new at programming and need to programm "X" as an assignment [](https://freeessaywriter.org/) (pic is attached) The "X" should be arbitrarily large or small and the edge length of the "X's" should be entered by the user. The code is below. Would highly appreciate any help: include …

Member Avatar for tinstaafl
0
82
Member Avatar for cambalinho

i'm learning Math for 3D... for now i can draw a plane and convert 3D to 2D(the screen is 2D): Private Function ConvertPositon3DTo2D(Position As Position3D, World3DSize As Size3D) As POINTAPI Dim ConvertedPosition As POINTAPI Dim PosZZDepth As Long PosZZDepth = Position.Z + World3DSize.Distance If (PosZZDepth = 0) Then PosZZDepth = …

Member Avatar for cambalinho
0
106
Member Avatar for John_266

I have to make a program that reads the number of seats and stores it in a two dimensional array. The empty seats is hashtag and if the user buys a seat it becomes *. The odd rows have 15 seats and even have 20. When I purchase a seat, …

Member Avatar for ButcherHix
0
269
Member Avatar for MagnusTheRed90

I have a class which is sort of like a repository, and every time I write to the zip archive using this command, the prior activity is overwritten. /// <summary> /// Insert file into existing archive file. /// </summary> /// <param name="fullPath"></param> /// <param name="stream"></param> public void InsertIntoFile(String fullPath, Stream …

Member Avatar for MagnusTheRed90
0
97
Member Avatar for Krystian_2

Write amodularC program that accepts by keyboard input five(5) user-scoresof the PS5 gaming console. The program must repeatedly request from eachuser,ratingson thefollowing factors of the PS5 gamingconsole:•cost,•games, •backward compatibility, and •screenresolution. All factorsare to bescored using a scale of 1 to 5where 5 represents the highest rating on a factor …

Member Avatar for rproffitt
0
51
Member Avatar for codekiln

i am trying to get gstreamer to capture frames and have them put into a picture box on a glade form , this is my Code snippet so far , can anyone give me come guidance GstCaps *caps = gst_sample_get_caps(sample); // Get a string containg the pixel format, width and …

0
15
Member Avatar for Polo_2

this is my code that takes from the terminal directory and extension of the file (s) to search ... the problem is in the path .... print for example /home/ciccio/prova.txt .... instead of ...... / home / ciccio / dir / subdir / prova.txt This is because I only pass …

0
96
Member Avatar for Dipesh_6

Hi, This is my first time using vectors. I'm trying to print some data that is stored in a structure vector but whenever the code gets to printing the data which is in double loop it crashes. I have located the error but i am ensure how to resolve it. …

Member Avatar for tinstaafl
0
130
Member Avatar for huwwaris

Hello Everyone , I have a Project at university to create term and polynomial class then calculate 2 derivatives I really need help for neccessery I have already started but I couldnt countinue , Hope to help ! Thanks .. Note:The following attatchment contains project Details

Member Avatar for mapsonyllaer
0
372
Member Avatar for mr.matrix251
Member Avatar for rproffitt
0
122
Member Avatar for Ana_13

Hello! I need urgently to convert this code in C. Please help meee https://www.geeksforgeeks.org/prims-algorithm-using-priority_queue-stl/amp/ Thanks!!

Member Avatar for rproffitt
0
99
Member Avatar for Dipesh_6

Hi, I made this game in c++ but i have some issues when i ask player if they want to play again. i want the game to reset when they press y but keep their bankbalance from previous game. here is the pastebin link: https://pastebin.com/pmhVKwxF sorry if the code is …

0
121
Member Avatar for vijaytechauthor

Which will be the best programming langugaes to start with in this pandemic situations which is facing by world? I am reading a research of then found this link https://insights.dice.com/2020/04/02/5-best-programming-languages-to-learn-during-covid-19-lockdown/ over the web and does not clear and asking the same to you all, Suggest me your thoughts on it.

Member Avatar for rproffitt
0
222
Member Avatar for TransKim

Help me find the solution to this task in C programming Write a function: int solution(int A[], int N); that, given an array A of N integers, returns the smallest positive integer (greater than 0) that does not occur in A. For example, given A = [1, 3, 6, 4, …

Member Avatar for JamesCherrill
-1
138
Member Avatar for Saba_6

Hi, I am getting erros in coverting the following C++ code to C language. Also what is the alternative of #include<bits/stdc++.h> library in C language? // C++ Implementation to find the // XOR of the two Binary Strings #include<bits/stdc++.h> using namespace std; // Function to find the // XOR of …

0
109
Member Avatar for medsibouh

hello guys I'm trying to make a code that return the name of the flight that has the most total number of passengers from a file : Alitalia Rome 180 Alitalia Pisa 82 Germanwings Munich 96 Germanwings Frankfurt 163 NorwegianAir Bergen 202 Wizzair London 184 Wizzair Frankfurt 83 Wizzair Lisbon …

Member Avatar for Reverend Jim
0
870
Member Avatar for Saba_6

Hi, I need to count number of ones and zeros in the following binary number: 11000111101011101100011100011011. Issue: It is correctly counting number of ones uptill 17 bits i-e 11000111101011101 . But when i increase my binary number it gives false answer. Try: I have already use the "long long int" …

Member Avatar for Reverend Jim
0
584
Member Avatar for tracethepath

i have made the following program but i cant find what is the error... the output is not coming correct... for example Enter A Binary Number 110011 Number of ones are 0 Number of zeroes are 1 [code] void main() { clrscr(); int r, ones=0, zeroes=0; long int n; printf("Enter …

Member Avatar for Saba_6
0
6K
Member Avatar for codiene bryant

Hello, I am writing this code to allow for a menu based banking system application. Part of the assignment was to check for input validation of the file I would like to open. In this case the user inputs their "customer id" which is stored as "custid" and then this …

Member Avatar for tinstaafl
0
269

The End.