132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Vandithar

Hi, I have 3 arrays. [code] @arr=("TDP-43 is a highly conserved, 43-kDa RNA-binding protein implicated to play a role in transcription repression, nuclear organization, and alternative splicing","the major disease protein of several neurodegenerative diseases, including frontotemporal lobar degeneration with ubiquitin-positive inclusions","For the splicing activity, the factor has been shown to …

Software Development perl
Member Avatar for Vandithar
0
146
Member Avatar for robgeek

Hi everyone, I have worked some more on my code and this time I am getting some error that I am not able to resolve. Please help me. The error says: "initialization skipped by case label." Please show me how to resolve this. Here is the code. The error has …

Software Development c++ ios
Member Avatar for robgeek
0
4K
Member Avatar for aamresh1

We tried compiling a code - multiply1.c in the Linux environment by giving the command gcc multiply1.c (we have renamed it) but its throwing errors like :- In function "main": undefined reference to '_gmpz_init_set_str' We are getting 6 to 7 this type of errors. Can you please let us know …

Software Development c
Member Avatar for aamresh1
0
167
Member Avatar for omgdork

Hi. I need help in vb.net. We have a page that opens a pop-up modal dialog with a form via JavaScript. The pop-up opens when a button from the parent window is clicked. The pop-up contains a textarea that has a required field validator. Once the user clicks the OK …

Software Development vb.net
Member Avatar for omgdork
0
285
Member Avatar for n8thatsme

Ok, I never really understood vectors and I have write a program that uses a vector of Employee references to store the company’s payroll. My program will load the payroll by reading a file (employee.dat) that contains one employee’s information per line. Each line of the file will begin with …

Software Development c++
Member Avatar for ArkM
0
373
Member Avatar for Taker

I hsve developed this code I am having trouble with the Account manager to perform the task it meant to do when i put N for New customer it exits the program and i shouldnt can anyone hepl me with this problem [code] #include <iostream> #include <string> #include <cmath> #include …

Software Development c++
Member Avatar for WaltP
0
208
Member Avatar for avpy

hi people, i am able to make the following code work if i don't use a destructor: #include<iostream> using namespace std; class CVector{ public: int *x, *y; CVector(); CVector operator+ (CVector); CVector(int,int); // ~CVector(); private: }; CVector::CVector(){ x = new int; y = new int; *x=0; *y=0; } CVector::CVector(int a, …

Software Development c++
Member Avatar for vmanes
0
122
Member Avatar for ais94

hey i'm ais94 i am currently a student with dubai in school we take computer science and we were handed a project to do that's how i got introduced to visual basic 6. you could do it whatever programming language you wanted to do it in anyway enough about that …

Software Development visual-basic
Member Avatar for ais94
0
82
Member Avatar for chunalt787

Some of the code has been omitted. I am trying to write a DFS function to traverse a maze. It will eventualy add the nodes to a tree that I will traverse once I get the DFS working. Currently it goes into an infinite loop and I cannot figure out …

Software Development c++
Member Avatar for chunalt787
0
608
Member Avatar for midimatt

Hey again guys and gals, getting a really weird error when i attempt to print out doubles in my program i have to store several double values, but when ever i print then out all i get is -9.25596e+061 instead of what should be printed out. [code=C++] string line; stringstream …

Software Development c++
Member Avatar for midimatt
0
105
Member Avatar for slimjimmer

Hi I'm trying to implement malloc into the following file but I am having some difficulty grasping the concept. My code: [code=c] #include <stdio.h> #include <stdlib.h> #include <string.h> #define HALF_PI 1.570639 #define EXPECTED_ARGS 2 #define LOWER_LIMIT 0 float Integrate (float upper_limit, float x[2][10000], float fx[2][10000]); int main (int argc, char* …

Software Development c
Member Avatar for slimjimmer
0
154
Member Avatar for sandawg

When I printout the array contents, it prints null rather than the expected entered data. Will someone please tell me what I am doing wrong? Thanks. My code follows; [code=java] import java.util.Scanner; public class Inventory { public static void main(String[] args) { Scanner input = new Scanner( System.in ); boolean …

Software Development java
Member Avatar for Antenka
0
121
Member Avatar for papuccino1

What wrong? What settings have to be set so the image shows and not only the BackColor?

Software Development image
Member Avatar for LizR
0
195
Member Avatar for LightSystem

Im trying to understand why a simple function I wrote doesnt work as it should, its probably some simple noob mistake, but its really making no sense. Here it is: [CODE=C] void justapoe(char seq[], int pos){ char c; int i; printf("Insert: "); scanf("%c", &c); seq[pos]=c; printf("Seq: "); for(i=10;i<50;i++){ printf("%c", seq[i]); …

Software Development c
Member Avatar for jephthah
0
92
Member Avatar for rmlopes

Hello, I implemented the follolwing function: [code] template< int n > struct GetNRands{ static void fillVector( set<int>& v, int max ){ if( n > 0 ){ int f; int pos; do{ f = rand(); pos = f * max / RAND_MAX; } while( v.find( f ) != v.end()); v.insert( pos …

Software Development c++
Member Avatar for ArkM
0
138
Member Avatar for papuccino1

Hello, me and my programming group were given the task to build a program to save peoples information, for instance, Name, Last Name, Age, I.D., etc. Is there a guide, A VERY BASIC GUIDE, to pass the values of, say, a text box to an SQL Database? Or to make …

Software Development
Member Avatar for Shuco
0
136
Member Avatar for Icebone1000

win2000 , visual studio 2005, console application (sorry my poor english) I dont know very well how start explain whats my problem.. Im making a sudoku game (not unic solution, just random =P) the problem is the loop where it suppose to verify the sudoku rules and make the corrections …

Software Development algorithm c++ visual-studio
Member Avatar for Murtan
0
242
Member Avatar for tuse

Hi! This is the code I have for sending mail- [code=vb.net] Imports System.Web.Mail Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim Mailmsg As New System.Web.Mail.MailMessage() SmtpMail.SmtpServer = "mysmtpserver" …

Software Development vb.net web-server
Member Avatar for tuse
0
184
Member Avatar for Arctic Giraffe

Are there any methods in C# to adjust the hue, lightness and saturation of textures? I have a Texture2D object in which I want to gradually change the hue of every pixel in the texture by the same amount over time. Just as if I was in Paint.NET and manually …

Software Development
Member Avatar for gbertoli3
0
179
Member Avatar for it2051229

I want to ask if someone has already have an article or working algorithm where it can get all the combination possible in a given word. Example: "ABCD" possible combinations or arrangement without duplicates: "ABCD" "ABC" "ABD" "BCD" "AB" "AC" "AD" "BC" "CA" <--- is the same as "AC" "CBA" …

Software Development algorithm
Member Avatar for ddanbe
0
77
Member Avatar for Intelrate

Hi. Do you know any websites providing free Java assessment tests?

Software Development java
Member Avatar for Intelrate
0
98
Member Avatar for punmeister

Hey hey! I'm trying to write a script that finds out if a given program name exists in the OS environments PATH variable (cross plathform). Thing is, I get a NameError, it's probably a simple error, but I've struggling with it the last hour. Any help would be appreciated [CODE=python] …

Software Development python
Member Avatar for punmeister
0
122
Member Avatar for poggie

Need some help where to start...what to do???? The objective of this program is to simulate playing the game of Bingo. A Bingo card basically consists of a 2-d array of 5 rows and 5 columns containing integers. The first column contains integers in the range 1-15, the second column …

Software Development java
Member Avatar for stultuske
0
116
Member Avatar for g_loughnan

Hi All, I'm trying to figure out how to pass an object to a function by constant reference. If I write a single class, can I write a function in this class that accepts an object of this class by constant reference? If so (or in any case) how does …

Software Development c++
Member Avatar for StuXYZ
0
620
Member Avatar for johntayler

Hi I am John Tayler, new to this topic. This is a my first post. I want to make a website, will anybody tel me from where to start. Ive selected dreamweaver 8 to build my site. Is this suitable tool? Any tutorial about dreamweaver will be appriciated. Tayler

Software Development java
Member Avatar for stultuske
0
74
Member Avatar for laki234

hi can anybody tell me how ti skip blank spaces in java.Is there any function for that.Or we have to write code for that. thanks

Software Development java
Member Avatar for ~s.o.s~
0
147
Member Avatar for mahaboob Basha

Hi iam developing one application where i need to to send simple sms from to tomcat server .. can any one help me in this.. if possible plz send me the sample code...how to configure port number and mobilenumber.. thanks&Regards Basha

Software Development java
Member Avatar for masijade
0
236
Member Avatar for koushal.vv

Hi , I am working with MFC SDI application, when i open any project [ SDI ] default icon gets loaded [ ie MFC icon ] , i am not able to change it , even i tried modifying the icon file, only the ABOUTDialog box icon changes, at all …

Software Development c++
Member Avatar for mitrmkar
0
208
Member Avatar for 666kennedy

i have an array of 16 things, now 8 of them have to be chosen at random so basically what i want to do is random(CHR/2) like choose a random number from CHR/2 (as there are 8 not 16 now) what code would i use because that doestn work

Software Development c++
Member Avatar for Freaky_Chris
0
127
Member Avatar for Lotus_2011

[COLOR="Red"][B]Hi all... I tried to maked Stack with Dynamic Array but ........[/B][/COLOR] [ICODE]class Stack { private: int *SS; int size; int t; void Expand(); public: //constractors Stack(); ~Stack(); Stack(const Stack & Original); //operations Stack &operator= (const Stack& RHS); bool Empty(); void Display(); int Pop(); void Push(int Value); int Top (); …

Software Development c++
Member Avatar for StuXYZ
0
1K
Member Avatar for murderotica

Hello there, I've been doing some research about the Outlook.Selection interface and made an application out of it. My goal is to get all of the items in my inbox folder. I have already created a way to get all of them, my problem is to filter each types of …

Software Development
Member Avatar for murderotica
0
869
Member Avatar for sainik

I am new to vb.net crystal report. I have created a dataset,a report and a vb page. I am running a view for the month of jan. so my report looks like project name jan aaa 01 bbb 20 ccc 30 but i want a report like the below project …

Software Development dataset vb.net
Member Avatar for gomathinayagam
0
110
Member Avatar for -Flipz-

Hey, Im having a problem with sorting numbers. I want to sort 4 numbers in orders of size i.e. if the order is 5,8,9,2 I would like it to distinguish the highest number (which in this case would be 9) and lowest (2). Could someone suggest how i would go …

Software Development vb.net
Member Avatar for isaackhazi
0
1K
Member Avatar for sbv

Hi Friends!! I have done a task of Importing excel in SQL server 2000 using Vb.Net 2003. I have provided Import/Overwrite facility to the User here. For this i used a Combobox. I have inserted values in Combo at design time. From the Property, Items (Collection). In Code i checked …

Software Development vb.net
Member Avatar for sbv
0
112
Member Avatar for goyofoyo

hey everyone i am pretty new to programming and i need a little help with a code that i am writting it is a pacMan and i need it to open and close its mouth but i am not sure how to do that i started an array with the …

Software Development java
Member Avatar for stultuske
0
93
Member Avatar for morecrab

How To Get Data From Intranet ? I Want To Get An Access File

Software Development pascal
Member Avatar for morecrab
0
147
Member Avatar for Umar Ali

Hello guys! Hope everyone's doing good. Well I desperately need the code for insertion in 2-3 trees, can anyone of you kindly help me out??? Actually I missed one of the lectures given in this regard, therefore i'm facing few daft problems, I tried to some extent but couldn't make …

Software Development c++
Member Avatar for Murtan
0
176
Member Avatar for PhoenixInsilico

Why does following does not work ?? [CODE] #include<iostream> using namespace std; class point{ float x,y,z; public: point(float f_x =1.0, float f_y=1.0, float f_z=1.0); void getxyz(float &x, float &y, float &z); }; point::point(float f_x, float f_y, float f_z) { x= f_x; y= f_y; z= f_z; } void point::getxyz(float &x, float …

Software Development c++
Member Avatar for PhoenixInsilico
0
789
Member Avatar for sbv

Hi i want to send a mail from vb.net 1.0. I have done some code for that as follows. [code] Try myMessage = New System.Web.Mail.MailMessage With myMessage .To = sendTo .From = From .Subject = Subject .Body = Body .BodyFormat = System.Web.Mail.MailFormat.Text SMTPServer = "smtp.rediffmailpro.com" If CC <> "" Then …

Software Development vb.net
Member Avatar for sbv
0
416
Member Avatar for pavel989

well the title kinda describes it. I tried LOWORD(lParam) = somenum; and it threw me an error saying that the left side valye has to be a 1-value

Software Development c++
Member Avatar for Murtan
0
118
Member Avatar for Darkangelchick

Hi guys, I'm currently working on a program to return whether an inputted number is perfect or not. I've found that the formula for the perfect number is If 2n-1 is prime then 2(n-1)(2n-1) is perfect. I've worked out some code, but I'm stuck. [CODE]Def listfactors(n): For 1=2 to n/2 …

Software Development python
Member Avatar for lllllIllIlllI
0
142
Member Avatar for goodluck4287

I need to make a java app that computes and prints mean and standard deviation for a list of integers x1 through xn. If anyone can help out, point me in the right direction even, that would be awesome, I get intimidated by these math problems when it comes to …

Software Development java
Member Avatar for Fuze
0
304
Member Avatar for Darkangelchick

Hey guys im doing the NCSS python challenge and I need help!! ok so here's my current problems (p.s. my teach cant even help) PROBLEM 1 ************************ [code]# This is a Python file def fibonacci(n): return (n <= 1) and 1 or fibonacci(n-1) + fibonacci(n-2) def decrypt(s): def helper(s): return …

Software Development python
Member Avatar for Darkangelchick
0
215
Member Avatar for mridulsouth

I have problem in counting the number of letters in the strings entered by the user. CAn anyone suggest something in the following codes? [code=cplusplus] #include <iostream> using namespace std; int main() { char* str; cout<<"enter the string to count the number of letters in it."; cin>>str; cout<<str.length; return 0; …

Software Development c++
Member Avatar for MosaicFuneral
0
118
Member Avatar for Jason123

How can i get the digits out from file and the player who scored the most points? Input file to read from Match A score: 3-1 [U]Mark Peter Peter[/U] Match B score: 1-1 [U]Jim[/U] underlined - player who scored the points [code=cpp] #include <iostream> #include <fstream> #include <string> using namespace …

Software Development c++
Member Avatar for Jason123
0
205
Member Avatar for MJFiggs

I dont know why, but this program I wrote is having a problem. it has a problem converting an Ace from 11 to 1 when the players have more than 21. if you could look over this, I would appreciate it. [code] #include <iostream> #include <ctime> using namespace std; double …

Software Development c++
Member Avatar for MJFiggs
0
120
Member Avatar for Lukezzz

I am stuck in a problem where I should show a progress in % in a label. I have manage this code and think this should work but the label doesn´t update the % value it only shows "Progress... 0 %". Is there anything I perheps should add to update …

Software Development c++
Member Avatar for Lukezzz
0
87
Member Avatar for daviddoria

With printf, you specify the output type like this unsigned char a; printf("%u", a); but with cout, cout << a; there is no type required. Do you have to cast the variable in order to see a reasonable output cout << (int)a; or something like that? How do you know …

Software Development c++
Member Avatar for StuXYZ
0
104
Member Avatar for Dan Bois

Every time i try and run this program it gives me an error saying "cannot find symbol constructor AnimationThread" The error occures on line 26 I was woundering if someone could please please help me with this Thx!! import java.awt.*; import java.applet.*; import javax.swing.*; import java.awt.geom.*; import java.util.concurrent.*; import java.awt.event.*; …

Software Development java java-swing
Member Avatar for quuba
0
101
Member Avatar for JackDurden

Does anyone know how to search a text file for just alphanumeric words using regex? And could you show me?

Software Development c++ regex
Member Avatar for StuXYZ
0
107

The End.