49,757 Topics

Member Avatar for
Member Avatar for Za3mi

Asslam-o-Alaikum friends! Friends i am a student of bscs and trying to load an image on turbo c or anyother compiler such as dev c or c free which are common in use in our university. Please suggedt me what should i do first for this purpos??

Member Avatar for Za3mi
0
886
Member Avatar for DanJones

Hello, im trying to write a program that will read the id3v1 tag of an mp3 file, output the current information, and then allow the user to edit the ID3 tag. I can get it to output the information but I'm having some issues getting it to edit correctly. #include …

Member Avatar for BobS0327
0
1K
Member Avatar for Ezekiel_1

//my program should be able to collect two words and compare them outputing the words from word1 which are also in word2 and outputing them and viceversa. my problem is in the last four lines before the return. Please help //Program to shows analysis of texts #include <iostream> // for …

Member Avatar for David W
0
517
Member Avatar for Dang_1

I have some errors LNK2019 with my homework, but I can't solve it. My error Error 7 error LNK2019: unresolved external symbol "void __cdecl input(int * &,int &,class std::basic_ifstream<char,struct std::char_traits<char> > &)" (?input@@YAXAAPAHAAHAAV?$basic_ifstream@DU?$char_traits@D@std@@@std@@@Z) referenced in function _main E:\Ex\Bai_1_No_File\main.obj Bai_1_No_File This is my code. main.cpp #include "function.h" #include <conio.h> #include <fstream> …

Member Avatar for Dang_1
0
155
Member Avatar for billbouris5

I have a program that is writen in C++, and I'm trying to set up the cygwin interface in order to save it to the correct path, compile it using the correct commands, and send the output to the screen. I want to understand how to achieve the connectivity to …

Member Avatar for Andy_5
0
158
Member Avatar for killer88

Opnet uses proto C / Proto C++. It is a network simulataion software. It there any way to identify the receiver node id in wireless domain model.

0
84
Member Avatar for deliezer

Hi everyone, I am writing some PDE code, and I am just starting to think about parallelizing it. The code is extremely parallelizable by both CUDA (at the lowest level) and regular threading at the higher level. Specifically, I am coding a matrix multiply, and the matrix is banded, so …

Member Avatar for rubberman
0
219
Member Avatar for blazemadej

Hi all, need some suggestions. This code looks like a jumbled mess to me. I am missing something and am not sure what. -Main should determain the letter grade of an average based on a 10-point scale and print out this grade. 90–100 A 80–89 B 70–79 C 60–69 D …

Member Avatar for blazemadej
0
14K
Member Avatar for mxwarning

Hi, I am very new to programming and I am unsure of how to start coding in c++. I need to create a currency conversion program. I need the code. I do have VS but have no idea of how to start the process of the coding.

Member Avatar for mxwarning
0
314
Member Avatar for Ezekiel_1

//I am writing a program that converts from one unit like mm to another e.g cm. The program should prompt invalid unit when something other than mm, cm, m or km is entered as the unit to be converted from or unit to be converted to. The problem is how …

Member Avatar for Ezekiel_1
0
9K
Member Avatar for kingoo
Member Avatar for Duki
0
102
Member Avatar for mythos061

Hello, I have to code essentially what would mimic a std::map. I have a templated pair class, and a table class. I am given two tables, transition and action table, which are attached. Basically, I suppose to code a security system, where a door opens after someone punches in the …

0
288
Member Avatar for Vasthor

for (std::size_t iter = 0; iter != m_queryMap.size(); ++iter) { // note here, line = iter + 1; std::set<std::size_t> lineBuck; lineBuck.insert(iter + 1); const std::vector<std::string> &bucket = m_queryMap.at(lineBuck); } where std::map<std::set<std::size_t>, std::vector<std::string> > m_queryMap; // storing each line of input // crossed with the line number as its key yup, …

Member Avatar for NathanOliver
0
206
Member Avatar for Emma_3

I need the first and last names to be capitalized, so if the user inputs a lowercase, it'll change it to uppercase when it's displayed. But it's just the ASCII and I'm not sure how to fix it. Thanks! #include <iostream> #include <cctype> using std::cout; using std::cin; using std::toupper; char …

Member Avatar for Suzie999
0
219
Member Avatar for jr.sayre3

Please help me my teacher gave me a program and I don't know how to do it. So this the program the she gave me. "Conversion from any Base to Base 10". Please help me :(

Member Avatar for Lucaci Andrew
0
120
Member Avatar for Emma_3

So everything works right now, but I need that final section (will be turned into a function later) to display the number of A's, B's, C's, D's, and F's. It seems like it should be pretty simple, but nothing is working for me. Thanks! #include <iostream> using std::cout; using std::cin; …

Member Avatar for JasonHippy
0
178
Member Avatar for robelle

HI, the imput of my algortihme is C1,C2,C3,C4,C5,C6,C7, Target where the aim is : -C7 will be in target Position -C1 d'ont change it's position - keep the distance and the local position between C7-C6,C6-C5,C3-C2,C2-C1 C7-C6= mena the posiiton of the C7 relative to C6 (we must keep it and …

Member Avatar for robelle
0
132
Member Avatar for Emma_3

I need to find a digit at a specific postion in a number. Example number 652796, user inputs a 4, "2" is displayed. I have the basis for it, but most of the time, the output is incorrect. Not sure what's wrong. #include <iostream> #include <cmath> using std::cout; using std::cin; …

Member Avatar for vmanes
0
1K
Member Avatar for Webbsta

Hello, I am new to C++ and have been writing a server program to help me learn. I am currently stuck on how to get a couple of classes passed by reference. I have been searching on forums for hours now and I just can't figure this out. I would …

Member Avatar for Webbsta
0
232
Member Avatar for ramrokers
Member Avatar for Schol-R-LEA
0
165
Member Avatar for brandon66

Hey everyone, i was suppossed to convert my array notation over to pointer notation in my functions, but am i missing something? i though this would be correct. Can someone point me in the right direction #include <iostream> #include <iomanip> #include <fstream> #include <cstdlib> using namespace std; //function prototypes void …

Member Avatar for Ancient Dragon
0
156
Member Avatar for mixelplik

I'm parsing a date into three ints, then manipulating them. I then want to convert them back into strings so I can concactenate them with the slashes so I can search an array of dates saved in string format. I looked around and this code seems like it should work, …

Member Avatar for mixelplik
0
316
Member Avatar for Emma_3

I'm really struggling with this assignment. Here's what I have to do: Write a program that uses an array to store 10 elements, representing 10 students' test scores that will be entered from the keyboard. Given the following grading scale (given in my if statements) determine the letter grade each …

Member Avatar for Moschops
0
289
Member Avatar for blazemadej

I need to read these numbers from a file: 2 10.5 5 20 10 30.2 It is not working. It skips over numbers. The first row (2,5,10) is supposed to be Hours and the second row (10.5, 20, 30.2) is supposed to be Pay.Any help is appreciated.Thank you. Note: This …

Member Avatar for blazemadej
0
174
Member Avatar for gsgikgsgik

A program that can sort a list of names and telephone numbers alphabetically. Persons are sorted alphabetically by their first names. Persons with the same first name are sorted by their last names. Plz give me its code,I tried a lot but failed.

Member Avatar for Schol-R-LEA
0
154
Member Avatar for Arizal

{ #include "stdafx.h" #include <iostream.h> #include <stdio.h> #include <string.h> class inventory { private: int prodID; char prodDescription[20]; int qtyInStock; public: inventory()//default constructor { prodID=0; strcpy(prodDescription,"-"); qtyInStock=0; } inventory(int a,char *b,int c) //constructor that initializes a new Inventoryobjects with the values passed as arguments { prodID=a; strcpy(prodDescription,b); qtyInStock=c; } }; int …

Member Avatar for Schol-R-LEA
0
172
Member Avatar for mell.mattingly

I am having a little trouble with my class Person program. It runs and builds without error...Yay....except I am getting 0 output. Anyone have any advice? #include <iostream> #include <string> #include <vector> #include <stdlib.h> using namespace std; class Person{ private: string name; int age; public: Person (string n, int a); …

Member Avatar for rubberman
0
177
Member Avatar for SivaKing

In my windows8 system conio.h header file is not working.Can any body tell me any idea about working of this header file.

Member Avatar for rubberman
0
305
Member Avatar for Isabella Angeliese

Hi! I have just started on c++ and have encountered Expression: (unsigned)(c+1) <=256 Error when I am trying to run the program. The program is suppose to generate an array of letters (lowercase and uppercase) of size from 15 to 25. After the generation, using ONLY one while-loop, try to …

Member Avatar for Ancient Dragon
0
801
Member Avatar for gsgikgsgik

A program that can sort a list of names and telephone numbers alphabetically. Persons are sorted alphabetically by their first names. Persons with the same first name are sorted by their last names. Following are the guidelines for program,program must include these things. Input: names and telephone numbers, Output: list …

Member Avatar for WenLiang
0
142

The End.