Mutix
- typedef
I will add that typdef is used mainly when declaring a tructure to create defined-data-type-like. and I use in my programs as follows: typedef struct { int number; int length; } inode; now you can refere to the struct as inode easily .. and if you are using cl…
- سؤالين مستعجلين الرجاء الرد
forgot the ouput After type casting : 23456
- سؤالين مستعجلين الرجاء الرد
#include <iostream.h> #include <stdlib.h> void main () { int x [4]; char c [5]; int y; x [0] = 2; x [1] = 3; x [2] = 4; x [3] = 5; x [4] = 6; for (int i = 0; i < 5; ++i) c = x + 48; y = (int) strtol (c, NULL, 10); cout << "After type casting : " << y << endl; …
- سؤالين مستعجلين الرجاء الرد
for the second question .. may be you can do the following but I am not sure if its going to work .. you can try it: cast every int to a char and then concatenate chars and then cast again into int. I will try it and let you know. Mutix.up
- من يعرف لغة HDL
I do programs in HDL but you have do be more specific which hardwae language do you use ? VHDL or VerilogHDL? or any other. Most countries in Euorope use VHDL while in the USA they use VerilogHDL. The sytax for VerlogHDL is closer to C but both languages are e…
- اريد مساعده في تركيب البيانات
I can explain it in english :) Mutix.up
- كود معقدني!!!!
you have done some small mistakes which caused these error. When opening a file using the appending option .. the appending option will create the file if it doesn't exists. When you were writting to the file you were printing a double as a float thats why the…
- أبي الفزعة بسرررررعة..O_o
I thoguth that your program is worth programming ;) so I decided to finsh up some part of it. Remeber this is not the whole program, you still need to do the following: (1) improve the API (2) do the file thing (3) modify the data structure if needed simple li…
- Mutix new member
Hi everybody .. I am a new member in the forum and I am looking to learn more from you guys .. I have a little understanding of C++ and hopefully I can share information and get to know each other more. I can't write arabic since my system doesn't support that…
- c programming project
I think your program is pretty easy, and thats how it should be done. here are the steps that I would use to solve this program: (1) open the "student.dat" file (2) read line by line and save in array (malloc enough size) (3) for each saved line use "strtok" t…
- أبي الفزعة بسرررررعة..O_o
I will try to help as much as I can .. I will give you possible solutions. The data structure of the first one are arrays and here how it should work: you should have two arrays. The first array is an array of ten of integers .. the ten integers should be init…
- ضروري
I would like to know more about the specs of the program. What data structure are you looking for? what level are you at ? should use pointers or not ? what other operation beside (1)inserting (2) sorting (3) displaying? Please be more specific in order to hel…