98 Posted Topics

Member Avatar for vedro-compota

Hi there)) I cann't deal with the file opening operation - [CODE]char* fpath = "D:\TC\myprog\readit.txt"; FILE* fp; fp = fopen (fpath, "r"); if (fp != NULL) printf ("\n(!) File opennig error\n"); else printf ("\n(+) File have been opened successfully!\n"); for( i=0;i<=n-1;i++) { a = getc(fp); putchar(a-48); putchar('\n'); }[/CODE] For some …

Member Avatar for vedro-compota
0
122
Member Avatar for vedro-compota

hi everyone)) Please tell me - where is the mistake here - [CODE]struct address {char* city ; char* street; int housenumb ;}; struct addinf {int age; struct address* address;}; struct student {int number; int kurs; char* name ; struct addinf* addinf;} stud; stud.number=1; stud.addinf.address.housenumb =123;[/CODE] thanks in advance)

Member Avatar for vedro-compota
0
302
Member Avatar for vedro-compota

Hi guys! please tell me - how to determine the length of the input stream without reading simbols ? (for save the input string) thanks in advance ))

Member Avatar for vedro-compota
0
86
Member Avatar for vedro-compota

Hi guys! )) please reply - how to clear the input stream of the console? thanks in advance ))

Member Avatar for vedro-compota
0
194
Member Avatar for vedro-compota

Hi guys ) Please help me - I can't understand - what's the meaning of this error message . [QUOTE]Object reference not set to an instance of an object.[/QUOTE] for this piece of code - [CODE]CityName = "NY"; this.MapCityMass.ArrayOfCities[this.NumberOfCities].CityName = CityName; [/CODE] this class's code - [CODE]public class CITY { …

Member Avatar for vedro-compota
0
197
Member Avatar for vedro-compota

hello guys)) Advice please - how to set the stream encoding? (to read a text file) I use this code - [CODE] StreamReader stream1 = new StreamReader(fs); System.Text.Encoding code = stream1.CurrentEncoding; StreamReader stream2 = new StreamReader(fs,code); while ((i = stream2.ReadLine()) != null) { label1.Text = label1.Text + i; } stream2.Close();[/CODE] …

Member Avatar for vedro-compota
0
154
Member Avatar for vedro-compota

Hello )) Please tell me - How to receive surnames of students and their mark in all subjects? in this form -[CODE] SURNAME1 1hismark1 1hismark1 1hismark1 1hismark1..... SURNAME2 2hismark1 2hismark1 2hismark1 2hismark1.....[/CODE] I use this database - [CODE] table STUDENT ( STUDENT_ID NUMERIC not null, SURNAME VARCHAR(60), ); table SUBJECT …

Member Avatar for vedro-compota
0
177
Member Avatar for vedro-compota

Hello )) please tell me - where's the bug in this code - [ICODE] main() { short int n = 0; n=[U]getdet[/U] ( **m , n); } [B]short int ** [U]getdet[/U] (short int **m , int n) /*вычисляем определитель матрицы*/ { short int c=0; if (n==1) return **m; }[/B][/ICODE] compiler …

Member Avatar for vedro-compota
0
189
Member Avatar for vedro-compota

Greetings to you friends)) Advice please - how to get integer value from the console? I did so, but nothing good can come out - [CODE] short int n = 0; n = (int)getchar();[/CODE] thank you in advance for your reply ))

Member Avatar for vedro-compota
0
248
Member Avatar for vedro-compota

Hi guys )) Please tell me - how to check that a variable is initialized ? Thanks in advance )

Member Avatar for Farhad.idrees
0
180
Member Avatar for vedro-compota

Good day) Advice please - is it permissible to use this syntax - [CODE] insert into EXAM_MARKS ( EXAM_DATE) values (str_to_date('26-05-2000', '%d,%m,%y')); [/CODE] This line does not work. I can not understand on what went wrong. Thank you for your answers)

Member Avatar for asaenz
0
1K
Member Avatar for vedro-compota

Hi guys ! Please help make a sql-query - There are three tables - [CODE] table STUDENT ( STUDENT_ID NUMERIC not null, SURNAME VARCHAR(60), ); table SUBJECT ( SUBJ_ID NUMERIC not null, SUBJ_NAME VARCHAR(100), ); table EXAM_MARKS ( EXAM_ID NUMERIC not null, STUDENT_ID NUMERIC not null, SUBJ_ID NUMERIC not null, …

Member Avatar for vedro-compota
-1
112
Member Avatar for vedro-compota

Hi thete )Tell me please - am I right - if [B]fillnumb[/B]=0 then after executing this code - [CODE] switch (fillnumb) { case 0: [B] fillnumb[/B] = 1; break; case 1: [B]fillnumb[/B] = 2; break; }[/CODE] [B]fillnumb [/B]will be =2 ;

Member Avatar for vedro-compota
0
131
Member Avatar for vedro-compota

Hi. Could you tell me - what is wrong here - [CODE] public class MAP { public string MAP(string FilePath) { FileStream fs; try { fs = new FileStream(FilePath, FileMode.Open); } catch (FileNotFoundException exp) { return exp.Message; } catch { return "Не удаётся открыть файл"; } return "all right!"; } …

Member Avatar for vedro-compota
0
182
Member Avatar for vedro-compota

hi everyone! )) As I understand it - to a class B inherit fields and methods of class A must describe them in this order - public class A [ICODE]{ public method34() { int m = 34; } public class B { private int my_m; public method1() { int m …

Member Avatar for vedro-compota
0
122
Member Avatar for vedro-compota

Hello )) Guys tell me please - in which folder should I put the file ( a few folders in one project), so that the program will be able to "read" it. if the path = "something.txt". Thanks in advance ))

Member Avatar for iconoclazt
0
104
Member Avatar for vedro-compota

good evening)) (At us now evening)) Please answer the question - there's a code fragment - [CODE] public string MAP(string FilePath) { FileStream fs; // объявляем байтовый поток try { fs = new FileStream(FilePath, FileMode.Open); } catch (FileNotFoundException exp) { [B][U]return[/U][/B] exp.Message; } catch { [U][B]return[/B][/U] "not possible to open …

Member Avatar for iconoclazt
0
119
Member Avatar for james6754

I recommend you book by this author - [URL="http://www.herbschildt.com/"]Schildt[/URL]. )))

Member Avatar for vedro-compota
2
164
Member Avatar for vedro-compota

Do I understand that by using the following code [CODE] a = getchar(); b = getchar();[/CODE] , after pressing "1" and "Enter" keys ( Enter - to continue programs work), we can derive the following variables - [CODE]a = '1'; b= '\n';[/CODE] thanks in advance))

Member Avatar for vedro-compota
0
98
Member Avatar for vedro-compota

Mates, this is my first piece of C code. I do not know what is wrong. Please, tell me, that's not so I've highlighted the lines that the compiler "doesn't like " - [CODE]#include <stdio.h> #include <alloc.h> #include <stdlib.h> main() { short int n = 0; int k=0,u,i=0; char a=''; …

Member Avatar for vedro-compota
0
102
Member Avatar for vedro-compota

Hi) Tell me, please - why why this method doesn't work? - [CODE]private void MapForm2_Load (object sender, EventArgs e) / / loading the map. { Color redColor = Color.Black; Rectangle r1 = new Rectangle (1, 2, 35, 35); }[/CODE] thanks in advance)

Member Avatar for vedro-compota
0
81
Member Avatar for vedro-compota

Hello, dear Programmers! Prompt - how to get the coordinates (of picture box) of the point which was clicked (by mouse))? Thank you for your answer)

Member Avatar for vedro-compota
0
144
Member Avatar for vedro-compota

Hi guys) Please tell me - why is it impossible to keep global variables in C in a processor register? thanks in advance)

Member Avatar for vedro-compota
0
159
Member Avatar for vedro-compota

hi, mates! Could someone tell me - how to connect the module with by code in a C#-project? Thanks in advance)

Member Avatar for kvprajapati
0
75
Member Avatar for RuffNight

hi) 18 months - it's quite a lot) you could easily pull up the knowledge. Learn the requirements of specific companies - and try to learn the necessary questions)) good luck)

Member Avatar for vedro-compota
1
382
Member Avatar for NareshAnand

1) You like Oracle....well....and -what else do you like? (To understand what scope you are more interested in) 2) Than the technical and functional departments are engaged?

Member Avatar for AndreRet
0
60
Member Avatar for Shinedevil

pirates - not only[B] 1)[/B]those who are selling cracked software. Pirates - it is also [B]2)[/B]those who wrote the software , and then does everything to make old one become useless.And then offer to "pirate" prices to buy new. I do not support neither the firsts nor the seconds. In …

Member Avatar for AndreRet
0
87
Member Avatar for PinkSmartie

[QUOTE]still not working ever since i added the dropdown menu bit [/QUOTE] [B]PinkSmartie[/B] , Show more significant piece of code - and highlight what isnt working and where you think it's a mistake! I'll try to sort out the problem))

Member Avatar for PinkSmartie
0
102
Member Avatar for vedro-compota

Hello)) I have a text file with a script that can be used to create an Oracle database, but I want to use this script to create MySQL one) Unfortunately, not all commands are similar. I've already changed the commands for creating tables. And now I can not understand how …

Member Avatar for vedro-compota
0
69
Member Avatar for vedro-compota

hello guys! Please advise a good (reputable) online journal about computer security. Thanks in advance.

Member Avatar for vedro-compota
0
234
Member Avatar for vedro-compota

Hi guys! I can not understand - what is wrong with this simple line - [CODE]create table SUBJECT ( SUBJ_ID NUMERUC not null, SUBJ_NAME VARCHAR(100));[/CODE] error message -[QUOTE]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to …

Member Avatar for vedro-compota
0
103
Member Avatar for vedro-compota

Greetings. Tell please function PHP5 which defines presence of the end of a line (like !feof - for the file end). Thanks in advance!)

Member Avatar for vedro-compota
0
87
Member Avatar for vedro-compota

I wish you all the correct code)) Hi) There was a problem reading the file. Actually, I want to read from file command for MySQL (originally, this team is destined for Orcle, but I think it will be right for MySQL). I think the problem in the encoding (I do …

Member Avatar for vedro-compota
0
400
Member Avatar for fuston05
Member Avatar for vedro-compota

Hello programmers ! Can anyone tell me - how to delete an initialized reference-type element, which suggest some links? Is there for this in C # the special function? Thank you for your answers))

Member Avatar for vedro-compota
0
178
Member Avatar for Akill10
Member Avatar for vedro-compota

Dear programmers)) Please tell me - why in С# this line [CODE]string [this.LevelNumber] mass = new string [this.LevelNumber];[/CODE] isn't permissible? What can be an equivalent for it? Thank you for your answers)

Member Avatar for vedro-compota
0
139
Member Avatar for vedro-compota
Member Avatar for vedro-compota
0
84
Member Avatar for vedro-compota

Hello) Please tell me-how to set up automatic numbering of lines in Visual C# Express Edition (or maybe this feature is not there?) Thank you in advance)

Member Avatar for vedro-compota
0
79
Member Avatar for macjaw

[QUOTE]This is not a valid survey link. Please contact the author of the survey and have them resend you the correct link to this survey.[/QUOTE] Yes, change link.

Member Avatar for vedro-compota
0
128
Member Avatar for UaBoy
Member Avatar for vedro-compota
0
123
Member Avatar for rafi1082
Member Avatar for extemer

Hey! And how about classical C or at least C++? C's the "closest" language to machines (without considering the assembler))

Member Avatar for alc6379
0
132
Member Avatar for vedro-compota

Hello friends)) Prompt please analog of function (if it exists) TryStrToInt (Delphi) for C #. In advance thanks)

Member Avatar for vedro-compota
0
153
Member Avatar for vedro-compota

Hello! Whether who will prompt css-property which certain div to be stretched on веритекали in conformity c in the size containing in first div (which sizes are defined in pixels)... In advance I thank.))

Member Avatar for vedro-compota
0
165
Member Avatar for vedro-compota
Member Avatar for Lapixx
Member Avatar for Lapixx
0
114
Member Avatar for vedro-compota

The End.