That selection is done in the application itself, right? So just ask for a student ID and display the data of the user that has that ID. (You mentioned you can read the data just fine, so looking it up should be trivial)
If suppose I have the students data in a 'string' text document like this
Student id Name Father's Name Phone no. Mail id
11011501 Tom Tommy 1234567 Tom@gmail.com
11011502 Sam Sammy 2345678 Sam@gmail.com
and so on.
This program is to read the whole content of that file. My question is if I ask the user to enter the student's id during runtime , the I should match that student's id with the id in my text document and dispaly that student's details.
printf("\nUnable t open file string.txt");
Edited 3 Years Ago by deceptikon: Fixed indentation in code block
Hi. I have a form with list box : lst_product, datagridview : grd_order and button: btn_addline. lst_product has a list of product ids selected from database (MS Acess 2013) , grd_order is by default empty except for 2 headers and btn_addline adds rows to grd_order.
I am writing a java program that needs to execute shell commands, so I wrote a function that would take the command to execute as a string (ie: "mkdir ~/Folder1") and execute that command with the shell. Here is the function:
Runtime run = Runtime.getRuntime();
Process pr = ...
Hey, so I wanna ask how I need to create a method who will remove word if in that word is 2 same chars. Example: "Potato" in this word there is a 2 "o" chars so this word will need to be removed. "Forum" in this word there is no ...