hi , i made a simple application for encryption and decryption of a text file using c language. i want to know if a text file contains language symbols other than English , than how C language take care of it. Please also tell me if we can add other languages support in C language.
gateway23
Posts
-
language problem in C .. -
Polymorphism problem in java..When we assign a subclass object to its superclass reference then the superclass reference can only access the methods that are in the superclass, it can't even the aceess its overridden methods in subclass. if the above lines are true then how the following code can works ... class a { int x; void show() { System.out.println(x); } } class b extends a { void show() { System.out.println("in subclass"); } void show2() { System.out.println("in show2"); } } class Main { public static void main(String args[]) { b bRef=new b(); a aRef=new b(); // why this line prints "in subclass". How a reference access the subclass? aRef.show(); bRef.show2(); } }
-
Problem in Multithreading ,,....thanks david..it helps alot. :)
-
static keyword problem.....in java a static method can access only other static member . But,how static main method access non-static member of other class....? Please tell me... sir/mam
-
Problem in Multithreading ,,....sir/mam i need to know the working of join() .... i tried books and net but i didn't got it. Please tell me exactly why we use join() function and what happens when we call the join().. Thanks
-
operator overloading problem.......sir/mam can you please tell me if there is any particular reason why the following operators can't be oveloaded.. . :: ?:
-
try block problem in java..Thanks cedric and richrd. you solve my problem. thanks a lot.... :)
-
try block problem in java..thanks cedric for your reply. If you don't mind can you please explain why we can't put the try/catch block directly in a class. why it is required to put it in a method.
-
try block problem in java..sir/mam i want to know if i can put the try block directly in a class... as class a { try { methods; } catch() { } }
-
need help in learning AES algo.hello friends, i am an engg. student. i ma building an data encrypter and decrypter application in c. I want to use some algo. . after searching on net i came to know about AES algo. I tried to learn from net but i just can't get i bit in y mind. please help me friends . can anyone tell me how aes works using some example in a simple way. please let me know if there are other algo present for text file encryption and decryption.
-
initialization of 3D array in javaint a[][] = { {1,2}, {2,3}}; this is how we can initialize an 2d array at the time of its deceleration but i don't know how to initialize an 3d array in java at the time of its deceleration. Please help me friends.. :doh:
-
Help on the encryption decryption project.hello friends, i am pursuing my degree and i am in my final semester. I need to know how every file is stored on a disk i.e. if a application want to access any file i.e. any video,audio,document file, is there a common way, how every file stored on the disk.
-
unresolved external symbol __imp__PlaySoundW@12thanks Cédric Moonen ,, now my project plays sounds fine.
-
unresolved external symbol __imp__PlaySoundW@12friends .i am working in visual studio and learnng windows api. I complied a code and getting the following error.. error LNK2019: unresolved external symbol __imp__PlaySoundW@12 referenced in function _WndProc@16 fatal error LNK1120: 1 unresolved externals i googled and found the solution to add a WINMM.lib file to my project. i add this lib file at "project property pages->Linker->General->Additional Library Directories" but the error appears again and again. can anyone please help..
-
Getting window name in different language.sorry for the inconvenience , i want to say ..when i run the code ,the windows title appears comes in different language ,it must come in english but it appears in different language.
-
Getting window name in different language.i am a newbie and creating a project in c language on windows platform. i am trying to develop a small application using winAPI 32. I am taking online tutorial from winprog.org ,in my tutorial i am creating a window from a given code but when i run the code ,my window name appearsll to be in different language .The code i used is given below. I am not able to understand why this sia happening . please help me .. I am using vc++ express edition 2008 on window 7. i'll be very thankful to you. #include <windows.h> const char g_szClassName[] = "myWindowClass"; // Step 4: the Window Procedure LRESULT CALLBACK WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam) { switch(msg) { case WM_CLOSE: DestroyWindow(hwnd); break; case WM_DESTROY: PostQuitMessage(0); break; default: return DefWindowProc(hwnd, msg, wParam, lParam); } return 0; } int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { WNDCLASSEX wc; HWND hwnd; MSG Msg; //Step 1: Registering the Window Class wc.cbSize = sizeof(WNDCLASSEX); wc.style = 0; wc.lpfnWndProc = WndProc; wc.cbClsExtra = 0; wc.cbWndExtra = 0; wc.hInstance = hInstance; wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); wc.lpszMenuName = NULL; wc.lpszClassName = g_szClassName; wc.hIconSm = LoadIcon(NULL, IDI_APPLICATION); if(!RegisterClassEx(&wc)) { MessageBox(NULL, "Window Registration Failed!", "Error!", MB_ICONEXCLAMATION | MB_OK); return 0; } // Step 2: Creating the Window hwnd = CreateWindowEx( WS_EX_CLIENTEDGE, g_szClassName, "The title of my window", WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, 240, 120, NULL, NULL, hInstance, NULL); if(hwnd == NULL) { MessageBox(NULL, "Window Creation Failed!", "Error!", MB_ICONEXCLAMATION | MB_OK); return 0; } ShowWindow(hwnd, nCmdShow); UpdateWindow(hwnd); // Step 3: The Message Loop while(GetMessage(&Msg, NULL, 0, 0) > 0) { TranslateMessage(&Msg); DispatchMessage(&Msg); } return Msg.wParam; }
-
Payment gateway project ...... helpsir.. i want to complet my project in c/c++ language. If you any idea idea on socket programming in c/c++ , please suggest me.
-
Payment gateway project ...... helpi am trying to make a project on payment gateways. Now ,the person who is guiding me on this project told me to build a socket client and socket server using QT (quick technology). He also told me some other suff too i.e. some kind of messageing format :confused:to use. I want to say that i don't know anything about this whole thing at :doh: present i.e about Qt /messageing format.. but i want to make this a working project by my own . I need your help to understand the concept. Please show me he right path. I knew general c/c++ & little bit of java . Please suggest me the starting point for my project. I am not requesting any ready-made code , i am just requesting to help me to start my project by suggesting me the steps that i must take to complete my project. and one thing more .. i don't know anything about network programming. please HELP me..... :(( :(( thanks