In which, the output is something like, MCC: 250, MNC: 580, LAC: 68900, CID: 2350456.
I want a variable (e.g. CELL) that looks something like 250-580-68900-2350456. How do I do this? I've been looking for ages and trying out a lot of stuff, but can't quite find a solution to what seems like a simple-to-solve problem.
integers are just bits. That is all. Any formatting you will have to do yourself. To do these things you may have to drop the int into a string, or store 4 integers and print them together.
eg
int dashed[4] = {250,580,68900,2350456};
cout << dashed[0] <<'-' << dashed[1]<<'-' ... etc
Any way to do it without <iostream> and <stream>? Due to the file size of these libraries I rather not use them. My code is about 24kb, with the inclusion of these libraries it suddenly peaked to 105kb.