Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~12.3K People Reached
Favorite Forums
Favorite Tags
c++ x 42
c x 29
java x 7

23 Posted Topics

Member Avatar for hsayid

This program works... I don´t know if it's like this that youi want: [CODE] #include "stdafx.h" #include <iostream.h> #include <stdio.h> int main(int argc, char* argv[]) { int no_values; float res_eff = 0.0, res_new, denominator = 0.0; printf("\nHow many input resistance do you want? "); scanf("%d", &no_values); int k=0; do { …

Member Avatar for studentba065
0
6K
Member Avatar for gampalu

Hi, I am trying to load an image into an applet, however unsuccessfully. What's wrong here? [CODE]package sess31; // Import the AWT graphics package import java.awt.*; import java.applet.*; public class myownapplet extends Applet { Image image; public void init() { // Load image //image = getImage(getDocumentBase(), "show14.gif"); } public void …

Member Avatar for Alimuzzaman
0
693
Member Avatar for gampalu

Hi, I am trying to implement an applet. The idea is to create the applet, then connect places where I single-click with the mouse with black lines until we give a double-click. With a double-click I should clear the applet. To clear the applet I am trying to set the …

Member Avatar for gampalu
0
171
Member Avatar for gampalu

Does anyone know where to download the library from LAPACk to run under C++?

Member Avatar for ~s.o.s~
0
81
Member Avatar for gampalu

Do you know where can I find a Class to operate with matrixes with a fast algorithm? (the class should also have the inverse method) thanks in advance

Member Avatar for Ancient Dragon
0
60
Member Avatar for gampalu

Hi I'm using visual c++ express since yesterday and I have an error that visual c++ 6.0 didn't detect :p I think it can be some program configuration... :o [CODE] 1>------ Rebuild All started: Project: IUCUNN, Configuration: Debug Win32 ------ 1>Deleting intermediate and output files for project 'IUCUNN', configuration 'Debug|Win32' …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for gampalu

I'm doing a dialog application in C++ to calculate something, but I want the result to be with 2 decimal number, how to do this? here is the function: [CODE]void CCalculatorDlg::Oncalc() { // TODO: Add your control notification handler code here UpdateData(TRUE); if ((m_amostras >= 1) && (m_elementos >= 1) …

Member Avatar for gampalu
1
120
Member Avatar for gampalu

Hi, can you please indicate me some ebooks about C for beginners, thanks

Member Avatar for gampalu
1
94
Member Avatar for gampalu

Hi, in the declaration of IP_name: [CODE] int InputNumber; ... // function that gets the InputNumber ... char IP_name[InputNumber];[/CODE] I have this error: [CODE] error C2057: expected constant expression error C2466: cannot allocate an array of constant size 0 error C2133: 'IP_name' : unknown size[/CODE] How can I solve this …

Member Avatar for gampalu
0
206
Member Avatar for gampalu

Hi I'm creating an application and in DEBUG mode I have zero errors, but when I switch to RELEASE I have this error: [CODE] --------------------Configuration: ipfix - Win32 Release-------------------- Compiling... Command line error D2016 : '/ZI' and '/O2' command-line options are incompatible Error executing cl.exe. [/CODE] Can you help me …

Member Avatar for hollystyles
0
204
Member Avatar for gampalu

Hi! How in C++ can we make a pause in the code, waiting for an ENTER? regards

Member Avatar for Dave Sinkula
0
117
Member Avatar for gampalu

I want to open a file and count the number of strings in the first line. Assuming that each string is delimited by spaces. I tried to do some code but yet not successful, can anyone help? [CODE] int main(int argc, char* argv[]) { int count = 0; FILE *stream; …

Member Avatar for iamthwee
0
522
Member Avatar for gampalu

In c++ how do I count the number of strings for the first line of a stream?

Member Avatar for Dave Sinkula
0
411
Member Avatar for gampalu

Hi, In C++ how do I get information from a configuration file and put it in variables. A file like this one: [CODE] # # The number of inputs for each epoch # Default value if omitted: 60 # InputNumber 60 # # The maximum epochs allowed in the network …

Member Avatar for gampalu
0
221
Member Avatar for gampalu

Hi! I built this class, however when I executed my program the memory run out quickly, because I wasn't making any "deletes", so I added the delete in the destructor, but It crashes there... what's wrong? [CODE]class CMatrix { public: void Identity(); void SetMaxColRow(int nRow, int nCol); void SetElement(int nRow, …

Member Avatar for Salem
0
358
Member Avatar for gampalu

I'm programming in C++ and I've been told that "printf" is faster than "cout", so since then I've been using "printf" instead of "cout". Do you recommend my option or not? thanks

Member Avatar for Dave Sinkula
0
131
Member Avatar for gampalu
Member Avatar for anupam_smart
0
89
Member Avatar for gampalu

Hi! I'm building a Class for matrixes. I have already built several funtions for adding, subtracting, transpose, multiply,.. Now I'm trying to do a function to calculate the inverse... Can anyone help me? [CODE] class CMatrix { public: void Identity(); void SetMaxColRow(int nRow, int nCol); void SetElement(int nRow, int nCol, …

Member Avatar for iamthwee
0
253
Member Avatar for meenu

[QUOTE=hsayid]hello meena im sori that i am not emailing regarding ur question because i dont kknow anything about c++ could you please help me with this if you can.thank you. i am trying to input this formula in to c++ but dont know how. could you help me and explain …

Member Avatar for gampalu
0
157
Member Avatar for vamsi.rgiit

Try to show your code like this: it's easy :cool: [CODE] #include<iostream.h> #include<conio.h> void main() { struct mylist{ mylist * nxt; int val; }; int a,b,c,d=1,i,j;mylist * t; clrscr(); cout<<"Enter the no&the total no of numbers"; cin>>a>>b; mylist * head=new mylist; head=NULL; mylist * newnode=new mylist; newnode->val=a; newnode->nxt=head; head=newnode; for(i=1;i<b;i++) …

Member Avatar for Bench
0
91
Member Avatar for gampalu

Hi all! I´m having a problem, I'm reading from a txt file values (doubles) but my cout outputs the following: -9.25596e+061 -9.25596e+061 -9.25596e+061 -9.25596e+061 Press any key to continue When it should read this: 1.986772 2.607455 0.000000 0.000000 The code is: [CODE] #include "stdafx.h" #include <stdlib.h> #include <stdio.h> #include <time.h> …

Member Avatar for gampalu
0
142
Member Avatar for gampalu

Hi all! I'm working in a project in visual c++ 6.0 with the console application and I want to ask you how to create a program that has portability to work in both platforms, windows and linux. Another thing, which function we use to round a double to the nearest …

Member Avatar for gampalu
0
107
Member Avatar for gampalu

Hi! I'm new in C++, but perhaps this is a general problem, not C++ exclusive. This is printed in my console, "-1.#IND", when using a printf, when this occurs? thanks

Member Avatar for Narue
0
247

The End.