15,552 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
https://payloadz.myshopify.com is my new site, im a computer science student i started it to showcase the vulnerabilities in linux | |
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 | |
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. | |
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 … | |
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 … | |
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 … | |
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 = … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. … | |
| 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 |
a) Write MARIE code to: 1. Input a number and store it in X . 2. Y will be equal to “ | |
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!! | |
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 … | |
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. | |
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, … | |
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 … | |
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 … | |
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" … | |
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 … | |
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 … |
The End.