- Upvotes Received
- 3
- Posts with Upvotes
- 3
- Upvoting Members
- 2
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Student/Intern
- Interests
- Computers, chess, pimg pong
38 Posted Topics
Hello, First of all, I'm sorry if my question seems silly, but I am very unfamiliar with Python. I am using a particular python code base which, in a Linux system, solves the problem I am working on (I am using Windows). A major part of the python code's task … | |
Re: simple.. clever.. I like it.. but if somebody is using private members they probably are doing it for data hiding and in many cases you won't know what private members are present. as for personal use I prefer using "communicating functions". Ilya | |
Hello, I have a very strange error. I recently installed a test environment on my laptop with IIS7/PHP5/MySQL on Vista Home Premium. When I tried to install phpMyAdmin I found that it somehow failed silently, in particular, config file could not get written even though no error was shown. To … | |
Re: Did you have any previus crashes. For example a svchost.exe crash (background process)? Try to make a clean reinstall if all fails.. but makesure you destroy all of the HD paritions first since win2k reinstalls are known to be fake.. Often win2k would just use the old bad files.. Ilya … | |
Re: Ok. srry for my internet ignorance but what is PR? [QUOTE=himerus]Yours is a truly puzzling question. I've pondered it myself CONSTANTLY over the past year. My site's main keyword is "[url=http://www.myispfinder.org]ISP Directory[/url]", and at some points throughout the past year, my site has been listed in the top 10 on … | |
Hello, I have just started playing around a bit with Python/Tkinter. What I'd like to happen is to draw a circle and then have the circle change its coordinate. The way I was thinking is to have some integer i to be defined 0 and then be updated every frame … | |
Well hello.. I am making an CSV (comma seporated values) loader, in which the first row are strings and all the other are integers. From what I've got when I load each indivisual string into an individual char array first few char arrays when printed are twice as big as … | |
Re: I have a similar problem with two win2k machines. Whenever I run ie (any version or update from 5.0 to 6.1 and inbetween) I hjave a csvhost crash and then I can't copy, some links don't work, some buttons don't work, some files get corrupted, no virus. I scanned with … | |
Hello all, When calculating sin(M_PI) the computer outputs ~-3e-7. Unfortunately, in my program the error grows (it is multiplied by a number on the order of 1e10) into around -208. My question: is there a way to round a float/double to only 3 digits after the decimal point (I do … | |
Whenever I use dile-up connection and open any navigator (ie5,ie6,netscape7,netscape7.1,OE5, OE6, Netscape Mail) an csvhost.exe crash occures after 2 to 20 minutes and then some buttons stop to work as well as I can't copy. I also can't save html webpages and Word doesn't register some templates. I can't move … | |
Re: [QUOTE=Mike29936]I'm no VB programmer, since it's my personal opinion that VB is for idiots, so I don't know what mid() does.[/QUOTE] Well this isn't very nice, is it? (although.. i prefer C/C++ myself) | |
Re: What compiler are you using? Ilya P.S.: Can anybody please check out my "string to integer array" problem? | |
Re: I don't know but what is "intintboolfalsetrue" try [CODE] #include <iostream.h> using namespace std; enum CHOICE { DrawRect,GetArea,GetPerim, ChangeDimensions, Quit}; // rectangle class declaration class Rectangle{ ..smthn.. }; [/CODE] | |
Re: oh.. come on.. people.. it is simple to understand that )BIG"B"Affleck has some self assurance problems. We should not fight with poor people like him for we must remember that it is only because of his personal problems, and may be a major brain injury, that he is so aggressive. … | |
Re: As long as you can make a pointer to it [B]it can be done[/B]. If you figure this one out let me know please (ivalmianski@yahoo.com) Ilya | |
Re: well, well, well... another rush.. And I am there.. ok.. Well, although all of my previous game rushes failed.. (Most often we didn't even get past the loaders..) I'll join in. As inscissor had pointed out we (I am 15) are now at that age where anything seems to be … | |
Re: Are you sure your drivers are correct? Ilya | |
Re: [QUOTE=)BIG"B"Affleck][url="http://www.mozilla.com"]www.mozilla.com[/url][/QUOTE] =)BIG"B"Affleck, stick with the topic, don't make a poor guy switch browsers.. If you so hate IE then at least suggest Metscape, it ain't the piece of crap mozilla is. Ilya | |
Hello, Here is the deal. I have two harddrives. One has RedHat Linux9.0, and one has Windows 2k. I used to have a functional grub install. But then I had to reinstall win2k and it deleted my grub at mbs. Now I can't access Linux. I also lost my boot … | |
Re: um.. are you using C# or something? Anyways in C stdlib library there is a function that can do what you want. sscanf() the name is. An example of its use would be sscanf (string,"%f",float); It will take the first float from the string provided on the left and put … | |
Re: I am not sure but if you use ie >5.0 there is "delete all cookies" button. As well as "delete all internet files" button. I think it is under tools->settings but I am not sure since I usually use Netscape. | |
Re: so why not use MS-prompt, isn't it prebuilt into win98? I wonder if you can just copy the MS-DOS onto CD/floppy(s) and then reinstall it. when installing 98 make sure you have correct file system... | |
Ok.. this is wiered.. this code either crashes or exits when it shouldn't. I really have not a clue what the error is. It loads and process a .csv file and example of such would be below (although generally the files I am loading are a couple of tousands of … | |
Re: Try saying [code] int isvowel (int ch) { if (ch=='a' || ch=='e' || ch=='i' || ch=='o' ||ch=='u') return 1; return -1; } [/code] | |
Hello, I have a wiered error. My code works if my struct has less then six floats but not otherwise. If I have more then six floats it freezes the system. See code for better description: [CODE] /* * * SSI2.cpp * * Data Description: * * The data consists … | |
Re: I used MVS .net a bit and from that experience here are my suggestions: 1. Save files as "class_declaration.h" and "cppfile.cpp" in the same directory 2. Add both files to the project 3. When including class_declaration.h type #include "class_declaration.h" 4. In your header file (class_declaration.h) start it with #ifndef _class_declaration … | |
Re: Can't you include string.h ? Use stdlib.h sizeof() and then search for '\0' (string end symb). You can make it even simplier by memsetting your string to some char (for example '\n') and then testing for that.. Ilya P.S.: (You can later convert all the free mem to '\0' so … | |
Re: Use dynamic memory allocation. In C++ (didn't test): char * getstring() { fflush (stdin); //don't have to do it char * string=NULL; char * temp=NULL; int size =2 scanf(""); //to get buffer input char ch; do { delete [] string; string = new char[size]; memcpy (string, temp, sizeof(temp)); delete[]temp; ch … | |
Re: Try this (your function has the same name as a varibale( Parimeter=Parimiter()): [CODE] #include <iostream.h> unsigned long int Perimeterf ( unsigned short int , unsigned short int ) ; int main (void) { unsigned short int length ; unsigned short int width ; unsigned long int Perimeter ; cout << … | |
Hello, I really don't know if this is more of a Mac of C++ question but.. I am doing a loading of a file with short CSVload (char * filename) //called from main { //openning a file and checking if it exists FILE * datafile = NULL; if ((datafile=fopen (filename, … | |
Re: Windows can only see (at least win2k and XP, I don't know about 2003 server) NTFS, VFAT (FAT/FAT32). The system itself can also see and uses (for hidden operations) FAT16 (16bit partishion.. what do ya know..).. Ilya | |
ok.. here I am with a double pointer to a 2D array and I am copying the data from another struct in to this 2d struct array. It gives me an illegal opperand error. Code: data.rows=polar.rows; data.trace = (SQwPOL**)calloc(polar.width,sizeof (SQwPOL*)); for (int i=0; i<polar.width; i++) { data.trace[i]= (SQwPOL*)calloc(polar.width,sizeof (SQwPOL)); for … | |
Re: Ok.. here is a very stupid idea.. Multithread, one thread that is suspendd for the main menue. One for input and one for checking for '-1'. If the third thread finds '-1' make it suspend the input and checking (itself) threads and activate the main meue thread. Although I am … | |
ok.. it seems like with every step in my program I stuble on more and more unconrprehendable errors.. this time it is with the printf function. When I am printing: fflush (stdout); puts ("\nOrganized data:"); for (int i=0; i<sdata.width; i++) printf ("'%s',",sdata.ar[i].name); puts ("\b"); for (int a=0; a<sdata.rows; a++) { … | |
Hello, Ok.. here is another problem I have come up with.. I have a string of numbers (comma or '\n' separated (from .csv file)). I have allocated an array of integers to put in the numbers into yet how do I actually do it. Example: I have "13, 34, 23, … | |
Re: Well here is an idea.. didn't test just wrote it from the head.. It might be buggy. #include <stdio.h> #include <stdlib.h> int * intcalc(int,int,int,int); int * intcalc (int price, int rate1, int rate2, int period) { int result[2]={0,0};//declares and initializes for (int i=0; i<(period+1); i++) { result[0] =0;//whatever the way … | |
Hello, I really don't know if this is more of a Mac of C++ question but.. I am doing a loading of a file with short CSVload (char * filename) //called from main { //openning a file and checking if it exists FILE * datafile = NULL; if ((datafile=fopen (filename, … |
The End.