49,757 Topics

Member Avatar for
Member Avatar for &rea

I am trying to use Elements (a property of matrix) that will save all the elements as an array so I could access the different elements but now I don't know how works this property. I have written that [code] L->Elements(cli::array<int>(1)^get()); [/code] and I get these errors: [code] error C2143: …

Member Avatar for &rea
0
111
Member Avatar for radnik

I made a little program in which i read double values from file and store them in vector of vectors. So i have one vector pairs which is collection of coordinates (numbers from one line in txt file) and vector trajectories which is vector of vectors pairs (collection of all …

Member Avatar for jencas
0
115
Member Avatar for Prathvi

Dear all, I have to create a customized SoftInputPanel for my program. My question is that ==>Is it possible to create our own SIP for Windows Mobile? ==>Pls give some info for the same

Member Avatar for Prathvi
0
89
Member Avatar for Azurea

Hey guys. I'm having an issue with my Dev-C++ IDE where whenever I try to compile my code, I get a " [Linker error] undefined reference to `__cpu_features_init' ld returned 1 exit status " error. Even with simple programs with just sending information to [I]cout[/I] I get this error. Something …

Member Avatar for Azurea
0
165
Member Avatar for Aamit

[code] Day: printf("\n1:Mon\t2:Tue\t3:Wed\t4:Thu\n5:Fri\t6:Sat\t7:Sun\nEnter value-> "); scanf("%d",&x); char dd1[5]="MON"; char dd2[5]="TUE"; char dd3[5]="WED"; char dd4[5]="THU"; char dd5[5]="FRI"; char dd6[5]="SAT"; char dd7[5]="SUN"; if(x==1){ strcpy(dd,dd1); } if(x==2){ strcpy(dd,dd2); } if(x==3){ strcpy(dd,dd3); } if(x==4){ strcpy(dd,dd4); } if(x==5){ strcpy(dd,dd5); } if(x==6){ strcpy(dd,dd6); } if(x==7){ strcpy(dd,dd7); } //printf("%s",dd); if(x>7 || x<1) { cout<<"\nPlease Enter Valid Option\n"; …

Member Avatar for mitrmkar
0
143
Member Avatar for &rea

Hello, I have got a matrix and I want to get his elements so I can work with them in an unsigned int[][] or in a similar way. I have proved to get them with the method Element but it returns an array and I think it don't do what …

0
70
Member Avatar for &rea

Hello, I want to make a matrix like this: [code] System::Drawing::Drawing2D::Matrix^ L; L=gcnew( System::Drawing::Drawing2D::Matrix::Matrix(rect,plgpts)); [/code] rect works properly but not plgpts plgpts is an array of Points. So I make that: [code] cli::array<System::Drawing::Point>^ plgpts; plgpts=gcnew(cli::array<System::Drawing::Point, 3>); [/code] and I have this errors: Error C3149: 'cli::array<Type,dimension>' : cannot use this type …

Member Avatar for &rea
0
151
Member Avatar for abhi11shukla
Member Avatar for WillMcc

Okay, so I'm a bit confused... here are my instructions for making a program: 1. Input each test result (i.e. a 1 or a 2). Display the message " Enter result" on the screen each time the program requests another test result. 2. Count the number of test results of …

Member Avatar for VernonDozier
0
139
Member Avatar for ederX

Ok, im pulling my hair out now...Im new to c++ but this one error is eluding me. Probably due to the fact that I'm still trying to understand pointers. Can anyone point me in the right direction to fix this error: [CODE]request for member ‘outputData’ in ‘*(employee**)(& emp)’, which is …

Member Avatar for VernonDozier
1
614
Member Avatar for mikelle

// the output is coming out incorrectly. any suggestions? //here is what i have // Lab 4 read and calculation file/input // This program will read the data in the input file // used by grosspayMinustaxFileCode #include <iostream> #include <fstream> using namespace std; int main() // this is the error …

Member Avatar for VernonDozier
0
88
Member Avatar for scream2ice

hi, does anyone know if there is a code in c++ that allows print on paper instead of monitor? i mean instread of using [B]'cout<<'[/B] to see what you want on monitor, use a code to print your info on paper.......cheers

Member Avatar for Duoas
0
1K
Member Avatar for QuantNeeds

So I finally I got this to work, but my problem is that it gets very messy when I try to print it as a chart. I have to print the output in a neat tabular format that minimizes the number of lines of output while remaining readable. When I …

Member Avatar for QuantNeeds
0
209
Member Avatar for uompearl

Hello I have a C++ program which is supposed to encrypt plaintext via keyboard input using AES-CCMP algorithm. The problem is that whatever plaintext I enter, it displays same ciphertext. The code listing is about 1500 lines. How can I post my code so that programmers can help me out?

Member Avatar for VernonDozier
0
106
Member Avatar for sweety0

[TEX=how to find the shortest path between undirected countries] Heloo! i m again sending my code with few more modifications. please tel me how to find the shortest path between undirected countries. thanks.[/TEX] [CODE= C++] #include<iostream> #include<fstream> #include <string> using namespace std; class Node { friend class list; friend class …

Member Avatar for VernonDozier
0
117
Member Avatar for SteveDB

Well, apparently, I jumped the gun a little. My code for the program I wrote still doesn't work. It compiles fine and throws no errors, but when I run it, only my main menu list runs-- over and over, regardless of my input, and the esc key no longer works. …

Member Avatar for SteveDB
0
119
Member Avatar for abilifyx

i was wondering if it was possible to make a mmorpg using C++, with out being to proficiant in javascript and html and either what software i would need or where to start.X

Member Avatar for Jishnu
0
132
Member Avatar for Jennifer84

I have a little problem with two panels that are on top of eachother with the exact same Size. What I am trying to do is with 2 buttons to choose wich panel that will be visible and not visible. So what should happen is that only one panel can …

Member Avatar for Jennifer84
0
176
Member Avatar for Zolookas

Hi, i am quite new to C++ and I am making quite complicated linux app: i need it to show wheather usb device (phone) is connected. I have a procedure which would check if phone is connected, but i need to somehow run in background to constantly (lets say every …

0
89
Member Avatar for waldchr

Hi I am relatively new to c++ but have written a program that would benefit from a little background music. I need it to be mp3 format. I am using dev c++ on windows XP. can anyone help?

Member Avatar for waldchr
0
204
Member Avatar for &rea

Hello, I have been using C++ for not so long and today I have find a problem that I know it is not difficult but I haven't done it before so I have no idea. I have a matrix(System::Drawing::Drawing2D::Matrix^ L) and I want to apply this property OffsetX. since now …

Member Avatar for &rea
0
53
Member Avatar for ninjaneer

I feel it's time to cast my line in here... I'm just about to embark on some GUIing myself and I have but one requirement thus far: I must be able to use cWinThreads or inherit from cWinThreads in order to control my processes. My program will be used to …

Member Avatar for Ancient Dragon
0
239
Member Avatar for Thew

Hello, I have some problems [U]always[/U] when I'm trying to work with pointer-to-function. I need to create some that can be called from another class. But maybe I don't know how to make it. This is the code I've written: Editor[.h] [CODE=C++] //... // UIRWin is the class that I …

Member Avatar for Narue
0
182
Member Avatar for dreweight2001

Hi. I need help regarding my homework. My professor has asked us to design a C++ program that will run in batch mode using Linux redirection. Input will be read in a data file. If characters in data file are valid, we may assume that the rest of the required …

Member Avatar for joshmo
0
137
Member Avatar for Prathvi

Hi all, I am here with a problem. I am reading a file from Internet. For Example index page of "www.google.com". Once i read it I must write it into a file & I'll use this later. The problem is that The read file is written completely into file. I …

Member Avatar for Ancient Dragon
0
207
Member Avatar for Percey

Hello, I am trying to create some bidirectional communication with a printer, and I am having a little problem. I was originally working with a HP Color LaserJet 2820, which does not support bidirectional communication, so the error that I was getting (ERROR_NOT_SUPPORTED), makes sense. I've since switched to a …

Member Avatar for mitrmkar
0
330
Member Avatar for NervousWreck

I am just starting to learn C++ with the Waite group primer. I wrote a program loosely based on the books instructions to display any entered ASCII character and its numeric value and the same for the next character in the table. Heres the bug: The second character works fine, …

Member Avatar for mitrmkar
0
96
Member Avatar for FTProtocol

Hey guys im just wondering if any guys have any clue on building a DLL Injector/Loader As in, in a folder you have Blah.exe and Blah.dll when Blah.exe is run it injects the dll into a specified process (via blah.ini) Now i know i need to use LoadLibrary or CreateRemote …

Member Avatar for mitrmkar
0
474
Member Avatar for sanchyvil

im new in programming cpp usually i do java... i have this problem, evertime i run my program i cannot see the output well, its just like it blinks... so idk if i have a correct output for my program... tnx...

Member Avatar for VernonDozier
0
125
Member Avatar for Aamit

i am creating shedule task program .. eg. daily ... i want to create this program like when pc restart or on... i want this exe check this timing automatically and executes at that time How to do this?? [code] #include<stdio.h> #include<conio.h> #include<time.h> #include<stdlib.h> #include<ctype.h> #include<dos.h> #include<windows.h> int main() { …

Member Avatar for Jishnu
0
107

The End.