49,761 Topics
| |
//I need help trying to find a way to make all my variables local and also allowing the user to type in name of the data file for reading. Also do a simple search to retrieve the weather information for a single query date #include <iostream> #include <fstream> #include <string> … | |
Hai, Can anyone help me to solve this program. Write a function in C++ to count number of words starting with “amend” in the text file named as “Amendment.txt” Eg:- A contract to deliver something to a customer once a month can be amended if the customerwants it delivered once … | |
| 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 |
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 … | |
I am trying to build a program for transferring files to an arduino project with an attached sd card. I have some code, it does some interesting stuff, but it's not quite what I want it to do. What I need it to do is to be able to transfer … | |
Hi, Need help in writing a ‘Guess the Word’ game using object oriented. Thanks, SK | |
**I'm having difficulty translating C code that loops through an array of grades. The C code is as follows:** int A, B, C, D, F; // declare grade counters int i; // declare loop counter int N ; // Number of scores to analyze A=0; B=0; C=0; D=0; F=0; // … | |
Enter 10 student grades and print the total number of passing and failing grades entered | |
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 | |
please help in writing a programming code for this project | |
Hi, I looked for this information, but couldn't find it anywhere. Is there a difference between a "template class" and a "class template" or are they just two different ways of saying the same thing ? Thanks a lot. | |
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 int myfunctionprototype(int … | |
I'm doing a project that reads some string reactions from file at formula e.g: (5A+3B=c+10D) as an input, i need to do a parsing for the string reaction so that i can extract &(split) integer values beside a char and put them into a vector i.e vector associated with the … | |
I have to do this program in C++ but I don't know how exactly to write it so that it displays everything it has to display. I'll be really thankful if you try to help me because I'm not so good at programming. 1. Create a program that has linked … | |
Hi, I am converting some C++ code to C# now and need some help on reading it! The C++ code is: uchar p2 = im.at<uchar>(i-1, j); uchar p3 = im.at<uchar>(i-1, j+1); uchar p4 = im.at<uchar>(i, j+1); uchar p5 = im.at<uchar>(i+1, j+1); uchar p6 = im.at<uchar>(i+1, j); uchar p7 = im.at<uchar>(i+1, … | |
sir i am newer to C++ but i know about syntax and rules plz tell me about to design a project for my finals which could be efficient and easier to understand | |
Hello guys please help with my simple project. I'm new to c++.This is the problem. USING FOR LOOPING STATEMENT. CREATE A C++ PROGRAM THAT WILL ASK 10 INPUT VALUES. THE PROGRAM SHOULD BE ABLE TO ADD ALL THE INPUT VALUES AFTERWARDS. Thanks to those who will help. HAVE A NICE … | |
sir i want to make a calendar of any year... date of calendar starts from any day.. | |
How can we insert two independent random number to two equations (x,y) contain two parts like this: x = a* randomnumber1 + b* randomnumber2 y = c* randomnumber1 + d* randomnumber2 these two random number should be independent. Thank inadvance. | |
I just figured out the answer to one of my previous questions but now I have a new problem, before I was just being a tad silly and forgot how to properly write a function but now my question is if I have the following function `int findMobile( string word, … | |
I am trying to declare a function to find the largest mobile element for a program to list permutations using johnson-totter algorithm. Here is my definition of the function in the header file: `int findMobile( string, int[] );` and here is my actual declaration of the function: `int findMobile( string … | |
Hi can you help me. I was assigned to create a stack in c++ and my professor asked to put arrays inside each stack. how do i do that? | |
Hello, I am getting a linked error when I changed file name to cpp. 1>main.obj : error LNK2019: unresolved external symbol "void __cdecl func_name(double * *,int,int,int,double * *,double * *,double * *,double * *)" I am using objects in my new code but this function which was there earlier is … | |
Hy Guys,I Need Your Help Regarding This Question.. I run this Program on Dev c++ and Compiler did not Show Error but During INput I can not input Name and Address in both student class and School Class.. Sorry For bad English.. :) #include<iostream> #include<string.h> #include<fstream> using namespace std; class … | |
I'm looking for an algorithm, pseudocode or any langauge, to generate random numbers with the following characteristics: integer values in the range 0-n lower values much more likely to happen than higher values, eg prob of 0 is n/(n(n-1)), prob of n is 1/(n(n-1)) - linear relationship between value and … | |
the program is supposed to find the sum of 10 integer numbers stored in an array but i'm having this error: [Error] invalid types 'int[int]' for array subscript. this is my program: #include<iostream> using namespace std; void readarray(int array[][30], int rows) { int i=1; cout<<"Enter 30 Numbers into an array:"<<endl; … | |
Hi guys! I'm new in c++ so I really need your help. I have this code but I have to use classes, how can i modify the struct to class? Please help me. #include <iostream> #include <cstdio> #include <cstring> #include <cstdlib> #include <conio.h> #include <iomanip> using namespace std; int main() … | |
Hi, I am trying to develop a software which can get information like listed bellow In System : -SERIAL NUMBER(847MY5N15) -UUID(4C4C4554-0134-3710-804D-B8C04F594E31) -BIOS VENDOR(Dell Inc.) -BIOS VERSION(A09) In Motherboard(Optional, but will be good if : -MOTHERBOARD VENDOR(Dell Inc.) -MOTHERBOARD MODEL(02XJP9) -MOTHERBOARD VERSION (A03) -MOTHERBOARD SERIAL NUMBER (/847MYN1/CN1296112402BB/) In CPU: -CPU MODEL(Intel(R) … | |
Hello, I am looking forward to buy a new C++ book which includes more advanced topics in algorithms, templates, STL, memory management, covering C++11/14 . I browsed on amazon but i feel confused, most of books are for beginners, more advanced ones looks like they do not have good feedback. … |
The End.